[PATCH xserver] glamor: Work around GEM usage

Thomas Hellstrom thellstrom at vmware.com
Thu May 24 09:39:16 UTC 2018


On 05/24/2018 11:03 AM, Emil Velikov wrote:
> On 23 May 2018 at 22:23, Mark Kettenis <mark.kettenis at xs4all.nl> wrote:
>>> From: Thomas Hellstrom <thellstrom at vmware.com>
>>> Date: Wed, 23 May 2018 22:58:05 +0200
>>>
>>> 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?
>>>>
>>>> - ajax
>>> I guess it's needed for dri2? If all drivers using glamor are OK with
>>> dropping dri2, then that should be OK.
>> OpenBSD doesn't implement dri3 (yet)
> AFAICT other BSDs like FreeBSD, DragonFly and NetBSD are in the same boat.
>
> That said I think we should incentivise them to implement it sooner
> than later.
>
> -Emil

Then I think we need to live with the "Work around GEM usage" patch 
until that happens.

/Thomas




More information about the xorg-devel mailing list