[Mesa-dev] [PATCH] gbm: add support for loading third-party backend

Michel Dänzer michel at daenzer.net
Wed Jan 25 08:11:40 UTC 2017


On 24/01/17 12:36 PM, Qiang Yu wrote:
> Third-party can put their backend to a directory configured with
> '--with-gbm-backenddir' and create a /etc/gbm.conf.d/*.conf file
> which contains the backend so file name to overwrite the default
> builtin DRI backend.
> 
> The /etc/gbm.conf.d/*.conf will be sorted and the backends added
> will be tried one-by-one until one can successfully create a gbm
> device. The default DRI backend is tried at last.

If I understand correctly, any third-party backends will always take
priority over Mesa-internal backends. Is everyone okay with that? I'm a
little worried it might cause problems, but I can't come up with a
specific scenario now, and maybe it can be addressed if and when it
causes a problem in practice.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the mesa-dev mailing list