summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Curtin <ecurtin@redhat.com>2022-12-16 11:10:12 +0000
committerSérgio M. Basto <sergio@serjux.com>2024-12-02 16:11:51 +0000
commitc3144adcbc01d4f9f4d1e42323fc51be689bee17 (patch)
tree687df1c2b65ff0f70d58cf9bb2012e3812a995b8
parent1a836cd47be8177cb3ab3ac2bc90e926c24c0cac (diff)
config: add a quirk for Apple Silicon appledrmserver-21.1-branch
Xorg server does not correctly select the DCP for the display without a quirk on Apple Silicon. Signed-off-by: Eric Curtin <ecurtin@redhat.com> Suggested-by: Hector Martin <marcan@marcan.st> (cherry picked from commit 39934a656a44722d16a80bf4db411c53e2d67b38) Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1746>
-rw-r--r--config/10-quirks.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/10-quirks.conf b/config/10-quirks.conf
index 47907d82d..54dd908a7 100644
--- a/config/10-quirks.conf
+++ b/config/10-quirks.conf
@@ -36,3 +36,13 @@ Section "InputClass"
MatchDriver "evdev"
Option "TypeName" "MOUSE"
EndSection
+
+# https://bugzilla.redhat.com/show_bug.cgi?id=2152414
+# Xorg server does not correctly select the DCP for the display without
+# a quirk on Apple Silicon
+Section "OutputClass"
+ Identifier "appledrm"
+ MatchDriver "apple"
+ Driver "modesetting"
+ Option "PrimaryGPU" "true"
+EndSection