drm: panel-orientation-quirks: Add quirk for Valve Galileo
authorjsg <jsg@openbsd.org>
Fri, 12 Jul 2024 04:07:17 +0000 (04:07 +0000)
committerjsg <jsg@openbsd.org>
Fri, 12 Jul 2024 04:07:17 +0000 (04:07 +0000)
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

index 518f712..2edda99 100644 (file)
@@ -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"),