[Mesa-dev] [PATCH] gbm: add support for loading third-party backend
michel at daenzer.net
Mon Feb 6 06:28:21 UTC 2017
On 06/02/17 02:58 PM, Yu, Qiang wrote:
>> * The ImgTec guys were able to tweak their binary which combined with
>> a bit of mesa glue produces a DRI module.
>> This in itself lead of a number of nice improvements and fixes that
>> landed in Mesa. Have you/others considered that option ?
> [yuq] You mean make amdgpu_dri.so a DRI compatible module which can
> be used with the current default GBM DRI backend? But this still need a way
> to select which vendor's DRI module because amdgpu_dri.so overlap support
> cards with radeonsi_dri.so and the current GBM DRI backend always load
> radeonsi_dri.so from a PCIID-DRI table lookup.
https://patchwork.freedesktop.org/patch/136822/ allows overriding the
driver name via an environment variable. It should be possible to make
this persistently configurable at a per-system, per-user and
per-application level via the drirc mechanism.
> Also not sure if the ABI is stable for different mesa versions?
Yes, it's backwards compatible, i.e. older driver binaries can work with
newer loader versions.
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the mesa-dev