Skip to content

Commit 430143b

Browse files
appsforartistsjwrdegoede
authored andcommitted
drm: panel-orientation-quirks: Add quirk for Lenovo Legion Go
The Legion Go has a 2560x1600 portrait screen, with the native "up" facing the right controller (90° CW from the rest of the device). Signed-off-by: Brenton Simpson <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 00a614f commit 430143b

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
@@ -336,6 +336,12 @@ static const struct dmi_system_id orientation_data[] = {
336336
DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "IdeaPad Duet 3 10IGL5"),
337337
},
338338
.driver_data = (void *)&lcd1200x1920_rightside_up,
339+
}, { /* Lenovo Legion Go 8APU1 */
340+
.matches = {
341+
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),
342+
DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Legion Go 8APU1"),
343+
},
344+
.driver_data = (void *)&lcd1600x2560_leftside_up,
339345
}, { /* Lenovo Yoga Book X90F / X90L */
340346
.matches = {
341347
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Intel Corporation"),

0 commit comments

Comments
 (0)