[PATCH xserver] glamor: Work around GEM usage
Michel Dänzer
michel at daenzer.net
Thu May 24 08:55:49 UTC 2018
On 2018-05-23 10:58 PM, Thomas Hellstrom wrote:
> On 05/23/2018 08:00 PM, Adam Jackson wrote:
>> On Wed, 2018-05-23 at 11:14 +0200, Thomas Hellstrom wrote:
>>> KMS drivers are not required to support GEM. In particular, vmwgfx
>>> doesn't support flink and handles and names are identical.
>>> Getting a bo name should really be part of a lower level API, if needed,
>>> but in the mean time work around this by setting the name identical to
>>> the handle if GEM isn't supported.
>> I'd thought flink was old and busted anyway. Could this path just go
>> away?
>
> I guess it's needed for dri2? If all drivers using glamor are OK with
> dropping dri2, then that should be OK.
FWIW, our drivers don't use glamor_name_from_pixmap, so they can support
DRI2 regardless.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the xorg-devel
mailing list