summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-07-12 04:07:18 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-07-12 04:07:18 +0000
commitd4c57bbdb617ae00433ceddc5f40c852e4f8e676 (patch)
treeaa14666676dc8d01506d7cde76f5a1c6c1f1f4fd /sys
parente0d83927fa57e83d2e0a16d5b203e1a3e34cf232 (diff)
drm: panel-orientation-quirks: Add quirk for Valve Galileo
From John Schoenick 33de7c47a19ab1165ee2404f197de4f7e4848f23 in linux-6.6.y/6.6.39 26746ed40bb0e4ebe2b2bd61c04eaaa54e263c14 in mainline linux
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/drm/drm_panel_orientation_quirks.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/drm_panel_orientation_quirks.c b/sys/dev/pci/drm/drm_panel_orientation_quirks.c
index 518f712322a..2edda9929ce 100644
--- a/sys/dev/pci/drm/drm_panel_orientation_quirks.c
+++ b/sys/dev/pci/drm/drm_panel_orientation_quirks.c
@@ -427,6 +427,13 @@ static const struct dmi_system_id orientation_data[] = {
DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "1"),
},
.driver_data = (void *)&lcd800x1280_rightside_up,
+ }, { /* Valve Steam Deck */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Valve"),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Galileo"),
+ DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "1"),
+ },
+ .driver_data = (void *)&lcd800x1280_rightside_up,
}, { /* VIOS LTH17 */
.matches = {
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "VIOS"),