dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Added orientation quirk for ASUS tablet model T103HAF
@ 2020-07-29 14:54 Marius Iacob
  2020-07-31  9:25 ` daniel
  0 siblings, 1 reply; 2+ messages in thread
From: Marius Iacob @ 2020-07-29 14:54 UTC (permalink / raw)
  To: mripard, dri-devel

 From 06ba7d3e64e55262bf818084904eec7b7320a2ad Mon Sep 17 00:00:00 2001
From: Marius Iacob <themariusus@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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Added orientation quirk for ASUS tablet model T103HAF
  2020-07-29 14:54 [PATCH] Added orientation quirk for ASUS tablet model T103HAF Marius Iacob
@ 2020-07-31  9:25 ` daniel
  0 siblings, 0 replies; 2+ messages in thread
From: daniel @ 2020-07-31  9:25 UTC (permalink / raw)
  Cc: dri-devel

On Wed, Jul 29, 2020 at 05:54:16PM +0300, Marius Iacob wrote:
> From 06ba7d3e64e55262bf818084904eec7b7320a2ad Mon Sep 17 00:00:00 2001
> From: Marius Iacob <themariusus@gmail.com>
> 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
> 
> ---
>  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
> 
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-31  9:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-29 14:54 [PATCH] Added orientation quirk for ASUS tablet model T103HAF Marius Iacob
2020-07-31  9:25 ` daniel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).