* [PATCH] drm/panel-orientation-quirks: add Lenovo Ideapad Duet 3i
@ 2022-01-17 12:41 Hendrik Borghorst
0 siblings, 0 replies; only message in thread
From: Hendrik Borghorst @ 2022-01-17 12:41 UTC (permalink / raw)
To: dri-devel; +Cc: Hendrik Borghorst
The Lenovo Ideapad Duet 3i has a 1200x1920 panel.
Non-exact match is used because a non-LTE and LTE version
exists with string "10IGL5" and "10IGL5-LTE". The patch is only tested
on the non-LTE version.
Signed-off-by: Hendrik Borghorst <hendrikborghorst@gmail.com>
---
drivers/gpu/drm/drm_panel_orientation_quirks.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c
index 042bb80383c9..a69caf423b48 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -262,6 +262,13 @@ 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 IdeaPad Duet 3 10IGL5 */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ /* Non exact match to match all versions */
+ DMI_MATCH(DMI_PRODUCT_VERSION, "IdeaPad Duet 3 10IGL5"),
+ },
+ .driver_data = (void *)&lcd1200x1920_rightside_up,
}, { /* Lenovo Yoga Book X90F / X91F / X91L */
.matches = {
/* Non exact match to match all versions */
--
2.34.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-17 22:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-17 12:41 [PATCH] drm/panel-orientation-quirks: add Lenovo Ideapad Duet 3i Hendrik Borghorst
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.