dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm: panel-orientation-quirks: Add quirk for Nanote UMPC-01
@ 2022-09-19 13:32 Hans de Goede
  2022-11-07 16:25 ` Simon Ser
  0 siblings, 1 reply; 3+ messages in thread
From: Hans de Goede @ 2022-09-19 13:32 UTC (permalink / raw)
  To: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann
  Cc: Hans de Goede, dri-devel

The Nanote UMPC-01 is a mini laptop with a 1200x1920 portrait screen
mounted in a landscape oriented clamshell case. Add a quirk for this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 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 8a0c0e0bb5bd..f0f6fa306521 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -319,6 +319,12 @@ static const struct dmi_system_id orientation_data[] = {
 		 DMI_MATCH(DMI_BIOS_VERSION, "BLADE_21"),
 		},
 		.driver_data = (void *)&lcd1200x1920_rightside_up,
+	}, {	/* Nanote UMPC-01 */
+		.matches = {
+		 DMI_MATCH(DMI_SYS_VENDOR, "RWC CO.,LTD"),
+		 DMI_MATCH(DMI_PRODUCT_NAME, "UMPC-01"),
+		},
+		.driver_data = (void *)&lcd1200x1920_rightside_up,
 	}, {	/* OneGX1 Pro */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "SYSTEM_MANUFACTURER"),
-- 
2.37.3


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

* Re: [PATCH] drm: panel-orientation-quirks: Add quirk for Nanote UMPC-01
  2022-09-19 13:32 [PATCH] drm: panel-orientation-quirks: Add quirk for Nanote UMPC-01 Hans de Goede
@ 2022-11-07 16:25 ` Simon Ser
  2022-11-08  9:16   ` Hans de Goede
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Ser @ 2022-11-07 16:25 UTC (permalink / raw)
  To: Hans de Goede; +Cc: dri-devel, Thomas Zimmermann

Acked-by: Simon Ser <contact@emersion.fr>

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

* Re: [PATCH] drm: panel-orientation-quirks: Add quirk for Nanote UMPC-01
  2022-11-07 16:25 ` Simon Ser
@ 2022-11-08  9:16   ` Hans de Goede
  0 siblings, 0 replies; 3+ messages in thread
From: Hans de Goede @ 2022-11-08  9:16 UTC (permalink / raw)
  To: Simon Ser; +Cc: dri-devel, Thomas Zimmermann

Hi,

On 11/7/22 17:25, Simon Ser wrote:
> Acked-by: Simon Ser <contact@emersion.fr>

Thank you. I've pushed both patches to drm-misc-fixes now.

Regards,

Hans



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

end of thread, other threads:[~2022-11-08  9:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-19 13:32 [PATCH] drm: panel-orientation-quirks: Add quirk for Nanote UMPC-01 Hans de Goede
2022-11-07 16:25 ` Simon Ser
2022-11-08  9:16   ` Hans de Goede

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).