diff mbox series

drm/panel-orientation-quirks: add Lenovo Ideapad Duet 3i

Message ID 20220117124154.5689-1-hendrikborghorst@gmail.com (mailing list archive)
State New, archived
Headers show
Series drm/panel-orientation-quirks: add Lenovo Ideapad Duet 3i | expand

Commit Message

Hendrik Borghorst Jan. 17, 2022, 12:41 p.m. UTC
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 mbox series

Patch

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 */