mesa/src/egl
Mathias Fröhlich 5743a36b2b egl: Don't add hardware device if there is no render node v2.
Do not offer a hardware drm backed egl device if no render node
is available. The current implementation will fail on this
egl device. On top it issues a warning that is actually missleading.
There are finally more error paths that can fail on the way to a
hardware backed egl device. Fixing all of them would kind of require
opening the drm device and see if there is a usable driver associated
with the device. The taken approach avoids a full probe and fixes at
least this kind of problem on kvm virtualization hosts I observe here.

Fixes: dbb4457d98 ("egl: add EGL_EXT_device_drm support")
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
2019-06-19 07:17:23 +02:00
..
drivers egl: Let the caller of dri2_create_drawable decide about loaderPrivate. 2019-06-10 11:06:48 +02:00
generate mapi: move genCommon.py to src/mapi/new 2019-01-24 18:13:25 +00:00
main egl: Don't add hardware device if there is no render node v2. 2019-06-19 07:17:23 +02:00
wayland delete autotools .gitignore files 2019-04-29 21:17:19 +00:00
Android.mk egl: add EGL_platform_device support 2019-06-05 13:35:21 -04:00
Makefile.sources egl: add base EGL_EXT_device_base implementation 2018-11-01 00:05:43 +00:00
SConscript drm-uapi: use local files, not system libdrm 2019-02-14 11:20:00 +00:00
egl-entrypoint-check egl: use the LC_ALL hammer instead of LANG 2018-11-01 17:25:08 +00:00
egl-symbols-check
meson.build egl: add EGL_platform_device support 2019-06-05 13:35:21 -04:00