drm: panel-orientation-quirks: Add ZOTAC Gaming Zone
authorVicki Pfau <vi@endrift.com>
Thu, 13 Mar 2025 21:16:44 +0000 (14:16 -0700)
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Sat, 15 Mar 2025 18:49:38 +0000 (20:49 +0200)
Add a panel orientation quirk for the ZOTAC Gaming Zone handheld gaming device.

Signed-off-by: Vicki Pfau <vi@endrift.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250313211643.860786-2-vi@endrift.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
drivers/gpu/drm/drm_panel_orientation_quirks.c

index c554ad8f246b65a1d20237d6d52c699c8afd2329..7ac0fd5391feaf3619d9ac34a7b770974d31ed70 100644 (file)
@@ -517,6 +517,12 @@ static const struct dmi_system_id orientation_data[] = {
                  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "LTH17"),
                },
                .driver_data = (void *)&lcd800x1280_rightside_up,
+       }, {    /* ZOTAC Gaming Zone */
+               .matches = {
+                 DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ZOTAC"),
+                 DMI_EXACT_MATCH(DMI_BOARD_NAME, "G0A1W"),
+               },
+               .driver_data = (void *)&lcd1080x1920_leftside_up,
        }, {    /* One Mix 2S (generic strings, also match on bios date) */
                .matches = {
                  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Default string"),