drm/panel-orientation-quirks: add Valve Steam Deck
authorjsg <jsg@openbsd.org>
Fri, 19 Nov 2021 03:03:57 +0000 (03:03 +0000)
committerjsg <jsg@openbsd.org>
Fri, 19 Nov 2021 03:03:57 +0000 (03:03 +0000)
From Simon Ser
7987f31e54a2a453c54bdc516fe7a48035fddf03 in linux 5.10.y/5.10.80
9eeb7b4e40bfd69d8aaa920c7e9df751c9e11dce in mainline linux

sys/dev/pci/drm/drm_panel_orientation_quirks.c

index 216e420..5b968a6 100644 (file)
@@ -267,6 +267,13 @@ static const struct dmi_system_id orientation_data[] = {
                  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Galaxy Book 10.6"),
                },
                .driver_data = (void *)&lcd1280x1920_rightside_up,
+       }, {    /* Valve Steam Deck */
+               .matches = {
+                 DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Valve"),
+                 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Jupiter"),
+                 DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "1"),
+               },
+               .driver_data = (void *)&lcd800x1280_rightside_up,
        }, {    /* VIOS LTH17 */
                .matches = {
                  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "VIOS"),