[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241007020258.2202786-1-rjgolo@gmail.com>
Date: Mon, 7 Oct 2024 10:02:23 +0800
From: Raymond Jay Golo <rjgolo@...il.com>
To: dri-devel@...ts.freedesktop.org
Cc: Raymond Jay Golo <rjgolo@...il.com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie <airlied@...il.com>,
Daniel Vetter <daniel@...ll.ch>,
linux-kernel@...r.kernel.org
Subject: [PATCH] drm: panel-orientation-quirks: Add quirk for Chuwi Hi10x
The Chuwi Hi10x uses a panel which has been mounted
90 degrees rotated. Add a quirk for this.
Signed-off-by: Raymond Jay Golo <rjgolo@...il.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
Powered by blists - more mailing lists