mirror of https://gitee.com/openkylin/linux.git
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 <emil.l.velikov@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200531093025.28050-1-hdegoede@redhat.com
This commit is contained in:
parent
7f757cb6b2
commit
6c22bc18a3
|
@ -121,6 +121,12 @@ static const struct dmi_system_id orientation_data[] = {
|
||||||
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "T100HAN"),
|
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "T100HAN"),
|
||||||
},
|
},
|
||||||
.driver_data = (void *)&asus_t100ha,
|
.driver_data = (void *)&asus_t100ha,
|
||||||
|
}, { /* Asus T101HA */
|
||||||
|
.matches = {
|
||||||
|
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
|
||||||
|
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "T101HA"),
|
||||||
|
},
|
||||||
|
.driver_data = (void *)&lcd800x1280_rightside_up,
|
||||||
}, { /* GPD MicroPC (generic strings, also match on bios date) */
|
}, { /* GPD MicroPC (generic strings, also match on bios date) */
|
||||||
.matches = {
|
.matches = {
|
||||||
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Default string"),
|
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Default string"),
|
||||||
|
|
Loading…
Reference in New Issue