All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm: panel-orientation-quirks: Add quirk for the Lenovo Yoga Book X91F/L
@ 2021-11-06 13:02 Hans de Goede
  2021-11-06 14:37 ` Simon Ser
  2021-11-06 21:59 ` Yauhen Kharuzhy
  0 siblings, 2 replies; 6+ messages in thread
From: Hans de Goede @ 2021-11-06 13:02 UTC (permalink / raw)
  To: Maarten Lankhorst, Maxime Ripard
  Cc: Hans de Goede, Yauhen Kharuzhy, dri-devel

The Lenovo Yoga Book X91F/L uses a panel which has been mounted
90 degrees rotated. Add a quirk for this.

Cc: Yauhen Kharuzhy <jekhor@gmail.com>
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 d92b9408fe48..2cced702d225 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -262,6 +262,12 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad D330-10IGM"),
 		},
 		.driver_data = (void *)&lcd1200x1920_rightside_up,
+	}, {	/* Lenovo Yoga Book X90F / X91F / X91L */
+		.matches = {
+		  /* Non exact match to match all versions */
+		  DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X9"),
+		},
+		.driver_data = (void *)&lcd1200x1920_rightside_up,
 	}, {	/* OneGX1 Pro */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "SYSTEM_MANUFACTURER"),
-- 
2.31.1


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

end of thread, other threads:[~2021-11-18 11:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-06 13:02 [PATCH] drm: panel-orientation-quirks: Add quirk for the Lenovo Yoga Book X91F/L Hans de Goede
2021-11-06 14:37 ` Simon Ser
2021-11-06 21:59 ` Yauhen Kharuzhy
2021-11-07 10:12   ` Sam Ravnborg
2021-11-07 11:27     ` Yauhen Kharuzhy
2021-11-18 11:55       ` Hans de Goede

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.