Skip to content
Snippets Groups Projects
Commit f1ec9335 authored by Simon Ser's avatar Simon Ser Committed by Dylan Baker
Browse files

egl: only take render nodes into account when listing DRM devices


We don't want to expose an EGL device for a display-only DRM devices
(like VKMS). For these DRM devices we have a separate software-rendering
device (the first in the list, always present).

There is a similar check in _eglAddDRMDevice, however it will be
removed in a future commit to allow split render/display devices
to be properly added. We can't figure out whether we're on a split
render/display system before loading the driver.

Signed-off-by: Simon Ser's avatarSimon Ser <contact@emersion.fr>
Fixes: 5743a36b ("egl: Don't add hardware device if there is no render node v2.")
Reviewed-by: default avatarEric Anholt <eric@anholt.net>
Part-of: <mesa/mesa!9697>
(cherry picked from commit e39d72ae)
parent 4e4962b4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment