]> www.infradead.org Git - nvme.git/commitdiff
drm: panel-orientation-quirks: Add quirk for Valve Galileo
authorJohn Schoenick <johns@valvesoftware.com>
Fri, 28 Jun 2024 20:58:21 +0000 (13:58 -0700)
committerHamza Mahfooz <hamza.mahfooz@amd.com>
Mon, 1 Jul 2024 11:23:29 +0000 (07:23 -0400)
Valve's Steam Deck Galileo revision has a 800x1280 OLED panel

Cc: stable@vger.kernel.org # 6.1+
Signed-off-by: John Schoenick <johns@valvesoftware.com>
Signed-off-by: Matthew Schwartz <mattschwartz@gwu.edu>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240628205822.348402-2-mattschwartz@gwu.edu
drivers/gpu/drm/drm_panel_orientation_quirks.c

index 2166208a961d68150254ef371d0985604b789e43..5db52d6c5c35c295046cdfc2f9db85c1b2c8454f 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"),