mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm/panel-orientation-quirks: add Lenovo Legion Go
@ 2023-11-14 23:38 Brenton Simpson
  2023-11-15 12:33 ` Hans de Goede
  0 siblings, 1 reply; 8+ messages in thread
From: Brenton Simpson @ 2023-11-14 23:38 UTC (permalink / raw)
  To: Hans de Goede
  Cc: Allen Ballway, Patrick Thompson, Jared Baldridge, Emil Velikov,
	Daniel Vetter, linux-kernel, Brenton Simpson

The Legion Go has a 2560x1600 portrait screen, with the native "up" facing the right controller (90° CW from the rest of the device).

Signed-off-by: Brenton Simpson <appsforartists@google.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 d5c1529..3d92f66 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -336,6 +336,12 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "IdeaPad Duet 3 10IGL5"),
 		},
 		.driver_data = (void *)&lcd1200x1920_rightside_up,
+	}, {	/* Lenovo Legion Go 8APU1 */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Legion Go 8APU1"),
+		},
+		.driver_data = (void *)&lcd1600x2560_leftside_up,
 	}, {	/* Lenovo Yoga Book X90F / X90L */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Intel Corporation"),
-- 
2.43.0.rc0.421.g78406f8d94-goog

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

end of thread, other threads:[~2023-11-16 17:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-14 23:38 [PATCH] drm/panel-orientation-quirks: add Lenovo Legion Go Brenton Simpson
2023-11-15 12:33 ` Hans de Goede
     [not found]   ` <CAAL3-=9YYQBV-T-KhHdYrtGHH1RC29uzTuQ98roAY9GwrNrwmg@mail.gmail.com>
2023-11-15 15:48     ` Brenton Simpson
2023-11-15 15:49       ` Brenton Simpson
2023-11-15 15:50       ` Hans de Goede
2023-11-15 15:52         ` Brenton Simpson
2023-11-15 16:32           ` Hans de Goede
2023-11-16 17:54             ` Brenton Simpson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®