Commit 8d4be7f6 authored by Kenneth Graunke's avatar Kenneth Graunke
Browse files

modesetting: Use EGL_MESA_query_driver to select DRI driver if possible

New now ask Glamor to use EGL_MESA_query_driver to obtain the DRI driver
name; if successful, we use that as the DRI driver name.  Following the
existing dri2.c logic, we also use the same name for the VDPAU driver,
except for i965 (and now iris), where we switch to the "va_gl" fallback.

This allows us to bypass the PCI ID lists in xserver and centralize the
driver selection mechanism inside Mesa.  The hope is that we no longer
have to update these lists for any future hardware.
parent 195c2ef8
Pipeline #82750 passed with stages
in 4 minutes and 23 seconds