Skip to content

Commit 0688773

Browse files
ptf2danvet
authored andcommitted
drm: Add orientation quirk for Lenovo ideapad D330-10IGL
Panel is 800x1280 but mounted on a detachable form factor sideways. Signed-off-by: Patrick Thompson <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 41cc108 commit 0688773

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
@@ -304,6 +304,12 @@ static const struct dmi_system_id orientation_data[] = {
304304
DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad D330-10IGM"),
305305
},
306306
.driver_data = (void *)&lcd1200x1920_rightside_up,
307+
}, { /* Lenovo Ideapad D330-10IGL (HD) */
308+
.matches = {
309+
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),
310+
DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad D330-10IGL"),
311+
},
312+
.driver_data = (void *)&lcd800x1280_rightside_up,
307313
}, { /* Lenovo Yoga Book X90F / X91F / X91L */
308314
.matches = {
309315
/* Non exact match to match all versions */

0 commit comments

Comments
 (0)