Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <ptf@google.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20221220205826.178008-1-ptf@google.com

authored by

Patrick Thompson and committed by
Daniel Vetter
0688773f 41cc108b

+6
+6
drivers/gpu/drm/drm_panel_orientation_quirks.c
··· 304 304 DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad D330-10IGM"), 305 305 }, 306 306 .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, 307 313 }, { /* Lenovo Yoga Book X90F / X91F / X91L */ 308 314 .matches = { 309 315 /* Non exact match to match all versions */