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