[PATCH] Added orientation quirk for ASUS tablet model T103HAF

Marius Iacob themariusus at gmail.com
Wed Jul 29 14:54:16 UTC 2020


 From 06ba7d3e64e55262bf818084904eec7b7320a2ad Mon Sep 17 00:00:00 2001
From: Marius Iacob <themariusus at gmail.com>
Date: Wed, 29 Jul 2020 16:51:41 +0300
Subject: [PATCH] Added orientation quirk for ASUS tablet model T103HAF

---
  drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++
  1 file changed, 6 insertions(+)

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"),
--
2.27.0



More information about the dri-devel mailing list