summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Iacob <themariusus@gmail.com>2020-08-01 15:34:46 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2020-08-04 11:45:23 +0200
commitb5ac98cbb8e5e30c34ebc837d1e5a3982d2b5f5c (patch)
treec00e49995680da8f95a7f9649558673eb4cac3a3
parentecfdedd7da5d54416db5ca0f851264dca8736f59 (diff)
drm: Added orientation quirk for ASUS tablet model T103HAFdrm-misc-fixes-2020-08-04
Signed-off-by: Marius Iacob <themariusus@gmail.com> Cc: stable@vger.kernel.org Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20200801123445.1514567-1-themariusus@gmail.com
-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 d00ea384dcbf..58f5dc2f6dd5 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -121,6 +121,12 @@ static const struct dmi_system_id orientation_data[] = {
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "T101HA"),
},
.driver_data = (void *)&lcd800x1280_rightside_up,
+ }, { /* Asus T103HAF */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "T103HAF"),
+ },
+ .driver_data = (void *)&lcd800x1280_rightside_up,
}, { /* GPD MicroPC (generic strings, also match on bios date) */
.matches = {
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Default string"),