Skip to content

Commit 2c71c84

Browse files
BoukeHaarsma23jwrdegoede
authored andcommitted
drm: panel-orientation-quirks: Add quirk for Ayn Loki Max
Add quirk orientation for Ayn Loki Max model. This has been tested by JELOS team that uses their own patched kernel for a while now and confirmed by users in the ChimeraOS discord servers. Signed-off-by: Bouke Sybren Haarsma <[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 b86aa41 commit 2c71c84

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
@@ -208,6 +208,12 @@ static const struct dmi_system_id orientation_data[] = {
208208
DMI_MATCH(DMI_BOARD_NAME, "KUN"),
209209
},
210210
.driver_data = (void *)&lcd1600x2560_rightside_up,
211+
}, { /* AYN Loki Max */
212+
.matches = {
213+
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ayn"),
214+
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Loki Max"),
215+
},
216+
.driver_data = (void *)&lcd1080x1920_leftside_up,
211217
}, { /* AYN Loki Zero */
212218
.matches = {
213219
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ayn"),

0 commit comments

Comments
 (0)