The Chuwi Hi10x uses a panel which has been mounted
90 degrees rotated. Add a quirk for this.

Signed-off-by: Raymond Jay Golo <rjg...@gmail.com>
---
 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 0830cae9a4d0..2fe1e85b97bb 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -234,6 +234,12 @@ static const struct dmi_system_id orientation_data[] = {
                  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Hi10 pro tablet"),
                },
                .driver_data = (void *)&lcd1200x1920_rightside_up,
+       }, {    /* Chuwi Hi10x */
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "CHUWI"),
+                       DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Hi10 X"),
+               },
+               .driver_data = (void *)&lcd1200x1920_rightside_up,
        }, {    /* Dynabook K50 */
                .matches = {
                  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Dynabook Inc."),
-- 
2.46.2

Reply via email to