Blame SOURCES/0001-Test-deny-atomic-KMS-for-tegra-RHBZ-1936991.patch

1a7f9f
From a8746403352be96bae7dfd73ac31fe0253f884b8 Mon Sep 17 00:00:00 2001
1a7f9f
From: Adam Williamson <awilliam@redhat.com>
1a7f9f
Date: Tue, 9 Mar 2021 17:21:59 -0800
1a7f9f
Subject: [PATCH] Test: deny atomic KMS for "tegra" (RHBZ #1936991)
1a7f9f
1a7f9f
Signed-off-by: Adam Williamson <awilliam@redhat.com>
1a7f9f
---
1a7f9f
 data/61-mutter.rules                  | 1 +
1a7f9f
 src/backends/native/meta-kms-device.c | 1 +
1a7f9f
 2 files changed, 2 insertions(+)
1a7f9f
1a7f9f
diff --git a/data/61-mutter.rules b/data/61-mutter.rules
1a7f9f
index edc03e6c1..d8e3c5f00 100644
1a7f9f
--- a/data/61-mutter.rules
1a7f9f
+++ b/data/61-mutter.rules
1a7f9f
@@ -3,3 +3,4 @@ DRIVERS=="nouveau", SUBSYSTEM=="drm", TAG+="mutter-device-disable-kms-modifiers"
1a7f9f
 DRIVERS=="amdgpu", SUBSYSTEM=="drm", TAG+="mutter-device-disable-kms-modifiers"
1a7f9f
 DRIVERS=="radeon", SUBSYSTEM=="drm", TAG+="mutter-device-disable-kms-modifiers"
1a7f9f
 ENV{ID_PATH}=="platform-vkms", TAG+="mutter-device-ignore"
1a7f9f
+DRIVER=="tegra", SUBSYSTEM=="platform", TAG+="mutter-device-disable-atomic-kms"
1a7f9f
diff --git a/src/backends/native/meta-kms-device.c b/src/backends/native/meta-kms-device.c
1a7f9f
index c388096d5..ef65cf82b 100644
1a7f9f
--- a/src/backends/native/meta-kms-device.c
1a7f9f
+++ b/src/backends/native/meta-kms-device.c
1a7f9f
@@ -252,6 +252,7 @@ is_atomic_allowed (const char *driver_name)
1a7f9f
     "vmwgfx",
1a7f9f
     "vboxvideo",
1a7f9f
     "nvidia-drm",
1a7f9f
+    "tegra",
1a7f9f
     NULL,
1a7f9f
   };
1a7f9f
 
1a7f9f
-- 
1a7f9f
2.28.0
1a7f9f