kms: Only force legacy mode setting when using EGLStream

EGLStream is incompatible with atomic mode setting, but nvidia-drm when
using libgbm is not, so lets only deny using atomic mode setting when
the render device is an EGLStream based one.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2578>
This commit is contained in:
Jonas Ådahl
2022-08-17 12:28:52 +02:00
committed by Marge Bot
parent 58c3734d78
commit 44dae3e160
4 changed files with 8 additions and 1 deletions

View File

@ -1214,7 +1214,6 @@ is_atomic_allowed (const char *driver_name)
"qxl",
"vmwgfx",
"vboxvideo",
"nvidia-drm",
"virtio_gpu",
"xlnx",
NULL,