summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-09-19 04:13:22 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-09-19 04:13:22 +0000
commit80f9622cc42a49b368f620ad833157e38d55c0fe (patch)
treea0baa46c6dae1775e7e944d3d7b6503a3f075e87 /sys
parent28c5ebadf4fe3d6ea7cd2536ec968fda5eb087ff (diff)
drm: panel-orientation-quirks: Add quirk for Ayn Loki Max
From Bouke Sybren Haarsma 31b9fc3d0c1078a7ca5982de45a3f29ac2e7d711 in linux-6.6.y/6.6.52 2c71c8459c8ca66bd8f597effaac892ee8448a9f in mainline linux
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/drm/drm_panel_orientation_quirks.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/drm_panel_orientation_quirks.c b/sys/dev/pci/drm/drm_panel_orientation_quirks.c
index 43af9ab557e..a9e561cddd2 100644
--- a/sys/dev/pci/drm/drm_panel_orientation_quirks.c
+++ b/sys/dev/pci/drm/drm_panel_orientation_quirks.c
@@ -208,6 +208,12 @@ static const struct dmi_system_id orientation_data[] = {
DMI_MATCH(DMI_BOARD_NAME, "KUN"),
},
.driver_data = (void *)&lcd1600x2560_rightside_up,
+ }, { /* AYN Loki Max */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ayn"),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Loki Max"),
+ },
+ .driver_data = (void *)&lcd1080x1920_leftside_up,
}, { /* AYN Loki Zero */
.matches = {
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ayn"),