[PATCH xserver] glamor: Work around GEM usage

Mark Kettenis mark.kettenis at xs4all.nl
Wed May 23 21:23:20 UTC 2018


> 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) and relies on the modesetting
driver on the newest generations of Intel hardware.  And I believe for
AMD hardware we rely on glamor as well.  The kernel drivers for those
do support GEM though.


More information about the xorg-devel mailing list