xserver-multidpi/hw/xfree86/dri2
Hans de Goede f9e7cdf659 xf86: dri2: Use va_gl as VDPAU driver for Intel i965 GPUs
The modesetting driver (which now often is used with Intel GPUs),
relies on DRI2ScreenInit() to setup the DRI and VDPAU driver names.

Before this commit it would always assign the same name to the 2 names,
but the VDPAU driver for i965 GPUs should be va_gl.

This commit adds a special case for the i965 case, replacing the
VDPAU driver name with "va_gl" if the GPU is using the i965 driver
for DRI.

Note this commit adds a FIXME comment for a related memory leak, that leak
was already present and fixing it falls outside of the scope of this commit.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1413733
Cc: kwizart@gmail.com
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2019-08-06 16:25:39 +02:00
..
pci_ids dri2: Sync i965_pci_ids.h from mesa 2019-07-10 10:40:13 -04:00
dri2.c xf86: dri2: Use va_gl as VDPAU driver for Intel i965 GPUs 2019-08-06 16:25:39 +02:00
dri2.h dri2: Add DRI2CreateDrawable2. 2012-07-12 15:08:37 -07:00
dri2ext.c dispatch: Mark swapped dispatch as _X_COLD 2017-03-01 10:16:20 -05:00
dri2int.h Move DRI2 from external module to built-in 2012-07-10 00:31:01 -07:00
Makefile.am dri2: Distribute new pci_ids headers 2014-10-28 21:30:23 -07:00
meson.build meson: Make driprotos and libdrm optional 2017-05-10 14:43:13 -04:00