drm: panel-orientation-quirks: Add quirk for Ayn Loki Zero
authorjsg <jsg@openbsd.org>
Thu, 19 Sep 2024 04:11:20 +0000 (04:11 +0000)
committerjsg <jsg@openbsd.org>
Thu, 19 Sep 2024 04:11:20 +0000 (04:11 +0000)
From Bouke Sybren Haarsma
7d42d19973cbe1fa30b6f2aad7d06189ec0ef2e8 in linux-6.6.y/6.6.52
b86aa4140f6a8f01f35bfb05af60e01a55b48803 in mainline linux

sys/dev/pci/drm/drm_panel_orientation_quirks.c

index 267f3f5..43af9ab 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 Zero */
+               .matches = {
+                       DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ayn"),
+                       DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Loki Zero"),
+               },
+               .driver_data = (void *)&lcd1080x1920_leftside_up,
        }, {    /* Chuwi HiBook (CWI514) */
                .matches = {
                        DMI_MATCH(DMI_BOARD_VENDOR, "Hampoo"),