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