drm: panel-orientation-quirks: Add quirk for Ayn Loki Max
authorjsg <jsg@openbsd.org>
Thu, 19 Sep 2024 04:13:21 +0000 (04:13 +0000)
committerjsg <jsg@openbsd.org>
Thu, 19 Sep 2024 04:13:21 +0000 (04:13 +0000)
From Bouke Sybren Haarsma
31b9fc3d0c1078a7ca5982de45a3f29ac2e7d711 in linux-6.6.y/6.6.52
2c71c8459c8ca66bd8f597effaac892ee8448a9f in mainline linux

sys/dev/pci/drm/drm_panel_orientation_quirks.c

index 43af9ab..a9e561c 100644 (file)
@@ -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"),