From 98f02e1ee20d8ebf1b8ef7274085e6ff395952a1 Mon Sep 17 00:00:00 2001 From: jsg Date: Fri, 12 Jul 2024 04:07:17 +0000 Subject: [PATCH] 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 --- sys/dev/pci/drm/drm_panel_orientation_quirks.c | 7 +++++++ 1 file changed, 7 insertions(+) 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"), -- 2.20.1