Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

+6
+6
drivers/gpu/drm/drm_panel_orientation_quirks.c
··· 140 140 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "T103HAF"), 141 141 }, 142 142 .driver_data = (void *)&lcd800x1280_rightside_up, 143 + }, { /* Chuwi Hi10 Pro (CWI529) */ 144 + .matches = { 145 + DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "Hampoo"), 146 + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Hi10 pro tablet"), 147 + }, 148 + .driver_data = (void *)&lcd1200x1920_rightside_up, 143 149 }, { /* GPD MicroPC (generic strings, also match on bios date) */ 144 150 .matches = { 145 151 DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Default string"),