Skip to content

Commit 6c22bc1

Browse files
committed
drm: panel-orientation-quirks: Add quirk for Asus T101HA panel
Like the Asus T100HA the Asus T101HA also uses a panel which has been mounted 90 degrees rotated, albeit in the opposite direction. Add a quirk for this. Reviewed-by: Emil Velikov <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 7f757cb commit 6c22bc1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/gpu/drm/drm_panel_orientation_quirks.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ static const struct dmi_system_id orientation_data[] = {
121121
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "T100HAN"),
122122
},
123123
.driver_data = (void *)&asus_t100ha,
124+
}, { /* Asus T101HA */
125+
.matches = {
126+
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
127+
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "T101HA"),
128+
},
129+
.driver_data = (void *)&lcd800x1280_rightside_up,
124130
}, { /* GPD MicroPC (generic strings, also match on bios date) */
125131
.matches = {
126132
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Default string"),

0 commit comments

Comments
 (0)