[mutter/gnome-40] kms/impl-device/atomic: Add virtio_gpu to deny list



commit 159409acb404de073d88ea711105ba4e3ac26c59
Author: Jonas Ådahl <jadahl gmail com>
Date:   Wed Oct 6 16:36:57 2021 +0200

    kms/impl-device/atomic: Add virtio_gpu to deny list
    
    virtio_gpu is used in virtual machine environments, meaning they need
    accurate cursor hotspots, which currently needs non-atomic mode setting.
    
    Related: https://bugzilla.redhat.com/show_bug.cgi?id=2009304
    Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2040>
    
    (cherry picked from commit 9179d4a4b1708a769d09d0d31d9af5d82240492c)

 src/backends/native/meta-kms-device.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/backends/native/meta-kms-device.c b/src/backends/native/meta-kms-device.c
index c388096d59..85aded9a6f 100644
--- a/src/backends/native/meta-kms-device.c
+++ b/src/backends/native/meta-kms-device.c
@@ -252,6 +252,7 @@ is_atomic_allowed (const char *driver_name)
     "vmwgfx",
     "vboxvideo",
     "nvidia-drm",
+    "virtio_gpu",
     NULL,
   };
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]