Skip to content

Commit 38b2d8e

Browse files
Darrell Kavanaghjwrdegoede
authored andcommitted
drm: panel-orientation-quirks: Add quirk for Lenovo IdeaPad Duet 3 10IGL5
Another Lenovo convertable where the panel is installed landscape but is reported to the kernel as portrait. Signed-off-by: Darrell Kavanagh <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent eb50912 commit 38b2d8e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/gpu/drm/drm_panel_orientation_quirks.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,12 @@ static const struct dmi_system_id orientation_data[] = {
322322
DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad D330-10IGL"),
323323
},
324324
.driver_data = (void *)&lcd800x1280_rightside_up,
325+
}, { /* Lenovo IdeaPad Duet 3 10IGL5 */
326+
.matches = {
327+
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),
328+
DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "IdeaPad Duet 3 10IGL5"),
329+
},
330+
.driver_data = (void *)&lcd1200x1920_rightside_up,
325331
}, { /* Lenovo Yoga Book X90F / X91F / X91L */
326332
.matches = {
327333
/* Non exact match to match all versions */

0 commit comments

Comments
 (0)