Skip to contentSkip to conversation

Added orientation quirk for ASUS tablet model T103HAF

PATCH In review Marius Iacob 2 participants 2 messages Jul 30, 2020 – Jul 31, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Added orientation quirk for ASUS tablet model T103HAF

From 06ba7d3e64e55262bf818084904eec7b7320a2ad Mon Sep 17 00:00:00 2001
From: Marius Iacob <[email protected]>
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(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +0 -0
index d00ea384dcbf..58f5dc2f6dd5 100644
@@ -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

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw
Quoted 4 lines · Marius Iacob

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

Please format the patch per

https://www.kernel.org/doc/html/latest/process/submitting-patches.html

- subject needs drm: prefix
- signed-off-by missing
- git apply-mbox fails to parse this, don't just paste the output of something like git show, that doesn't work

Yes I know the kernel process isn't very friendly for newbies, apologies. -Daniel

Quoted 31 lines

---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++

 1 file changed, 6 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +6 -0
index d00ea384dcbf..58f5dc2f6dd5 100644
@@ -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

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel