summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_panel_orientation_quirks.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2021-05-30 13:04:28 +0200
committerHans de Goede <hdegoede@redhat.com>2021-08-17 20:00:20 +0200
commit072e70d52372c44df90b44fb4cd949a709bb5bef (patch)
tree930536411fae07b1178de123e668e18086c47245 /drivers/gpu/drm/drm_panel_orientation_quirks.c
parent88fa1fde918951c175ae5ea0f31efc4bb1736ab9 (diff)
drm: panel-orientation-quirks: Add quirk for the Chuwi Hi10 Pro
The Chuwi Hi10 Pro uses a panel which has been mounted 90 degrees rotated. Add a quirk for this. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Simon Ser <contact@emersion.fr> Link: https://patchwork.freedesktop.org/patch/msgid/20210530110428.12994-5-hdegoede@redhat.com
Diffstat (limited to 'drivers/gpu/drm/drm_panel_orientation_quirks.c')
-rw-r--r--drivers/gpu/drm/drm_panel_orientation_quirks.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c
index b2a650674cd3..4e965b0f5502 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -140,6 +140,12 @@ static const struct dmi_system_id orientation_data[] = {
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "T103HAF"),
},
.driver_data = (void *)&lcd800x1280_rightside_up,
+ }, { /* Chuwi Hi10 Pro (CWI529) */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "Hampoo"),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Hi10 pro tablet"),
+ },
+ .driver_data = (void *)&lcd1200x1920_rightside_up,
}, { /* GPD MicroPC (generic strings, also match on bios date) */
.matches = {
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Default string"),