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

36 lines
1.3 KiB
Diff
Raw Normal View History

2021-12-07 18:15:44 +00:00
From 9d0ded3178777cd6afcdd5fff7b6f0f39a0d5236 Mon Sep 17 00:00:00 2001
2021-11-02 15:52:32 +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
index edc03e6c1..d8e3c5f00 100644
--- a/data/61-mutter.rules
+++ b/data/61-mutter.rules
@@ -3,3 +3,4 @@ DRIVERS=="nouveau", SUBSYSTEM=="drm", TAG+="mutter-device-disable-kms-modifiers"
DRIVERS=="amdgpu", SUBSYSTEM=="drm", TAG+="mutter-device-disable-kms-modifiers"
DRIVERS=="radeon", SUBSYSTEM=="drm", TAG+="mutter-device-disable-kms-modifiers"
ENV{ID_PATH}=="platform-vkms", TAG+="mutter-device-ignore"
+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-12-07 18:15:44 +00:00
index 85aded9a6..e749ab6b9 100644
2021-11-02 15:52:32 +00:00
--- a/src/backends/native/meta-kms-device.c
+++ b/src/backends/native/meta-kms-device.c
2021-12-07 18:15:44 +00:00
@@ -253,6 +253,7 @@ is_atomic_allowed (const char *driver_name)
2021-11-02 15:52:32 +00:00
"vboxvideo",
"nvidia-drm",
2021-12-07 18:15:44 +00:00
"virtio_gpu",
2021-11-02 15:52:32 +00:00
+ "tegra",
NULL,
};
--
2021-12-07 18:15:44 +00:00
2.32.0
2021-11-02 15:52:32 +00:00