The AOKZOE A1 Pro has a portrait 16:10 panel, add a quirk for it.

Reviewed-by: Philip Müller <[email protected]>
Signed-off-by: Antheas Kapenekakis <[email protected]>
---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c 
b/drivers/gpu/drm/drm_panel_orientation_quirks.c
index 3a218fb592ce..736280302f76 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -179,6 +179,12 @@ static const struct dmi_system_id orientation_data[] = {
                  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Win600"),
                },
                .driver_data = (void *)&lcd720x1280_rightside_up,
+       }, {    /* AOKZOE A1 Pro */
+               .matches = {
+                 DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AOKZOE"),
+                 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AOKZOE A1 Pro"),
+               },
+               .driver_data = (void *)&lcd1200x1920_leftside_up,
        }, {    /* Asus T100HA */
                .matches = {
                  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
-- 
2.52.0


Reply via email to