mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Brenton Simpson <brentons+appsforartists@google.com>
To: Hans de Goede <hdegoede@redhat.com>
Cc: Allen Ballway <ballway@chromium.org>,
	Patrick Thompson <ptf@google.com>,
	Jared Baldridge <jrb@expunge.us>,
	Emil Velikov <emil.l.velikov@gmail.com>,
	Daniel Vetter <daniel.vetter@ffwll.ch>,
	linux-kernel@vger.kernel.org,
	Brenton Simpson <appsforartists@google.com>
Subject: [PATCH] drm/panel-orientation-quirks: add Lenovo Legion Go
Date: Tue, 14 Nov 2023 23:38:59 +0000	[thread overview]
Message-ID: <20231114233859.274189-1-appsforartists@google.com> (raw)

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

             reply	other threads:[~2023-11-14 23:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-14 23:38 Brenton Simpson [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231114233859.274189-1-appsforartists@google.com \
    --to=brentons+appsforartists@google.com \
    --cc=appsforartists@google.com \
    --cc=ballway@chromium.org \
    --cc=daniel.vetter@ffwll.ch \
    --cc=emil.l.velikov@gmail.com \
    --cc=hdegoede@redhat.com \
    --cc=jrb@expunge.us \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ptf@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®