summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-08-22 06:29:13 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-08-22 06:29:13 +0000
commit42d779ae6a7e052977198063bec554261e5dc5aa (patch)
tree22da7d23b48ab2aa14ce42cf7ad286f44eced050 /sys/dev/pci/drm
parent8f2b457053d35f2dee2d7b3278c690689165f428 (diff)
drm: Added orientation quirk for ASUS tablet model T103HAF
From Marius Iacob ff4ca77f631ac57013333eecd8ff57e38abb9506 in linux 5.7.y/5.7.17 b5ac98cbb8e5e30c34ebc837d1e5a3982d2b5f5c in mainline linux
Diffstat (limited to 'sys/dev/pci/drm')
-rw-r--r--sys/dev/pci/drm/drm_panel_orientation_quirks.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/drm_panel_orientation_quirks.c b/sys/dev/pci/drm/drm_panel_orientation_quirks.c
index ff3eb7ae46a..43f1273afe0 100644
--- a/sys/dev/pci/drm/drm_panel_orientation_quirks.c
+++ b/sys/dev/pci/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"),