drm: panel-orientation-quirks: Add quirk for Aya Neo KUN
authorjsg <jsg@openbsd.org>
Fri, 26 Jul 2024 03:29:47 +0000 (03:29 +0000)
committerjsg <jsg@openbsd.org>
Fri, 26 Jul 2024 03:29:47 +0000 (03:29 +0000)
From Tobias Jakobi
97f71343f794c6ecbb3a2d55b4a04464e924b139 in linux-6.6.y/6.6.42
f74fb5df429ebc6a614dc5aa9e44d7194d402e5a in mainline linux

sys/dev/pci/drm/drm_panel_orientation_quirks.c

index 2edda99..85c6a1a 100644 (file)
@@ -202,6 +202,12 @@ static const struct dmi_system_id orientation_data[] = {
                  DMI_MATCH(DMI_BOARD_NAME, "NEXT"),
                },
                .driver_data = (void *)&lcd800x1280_rightside_up,
+       }, {    /* AYA NEO KUN */
+               .matches = {
+                 DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "AYANEO"),
+                 DMI_MATCH(DMI_BOARD_NAME, "KUN"),
+               },
+               .driver_data = (void *)&lcd1600x2560_rightside_up,
        }, {    /* Chuwi HiBook (CWI514) */
                .matches = {
                        DMI_MATCH(DMI_BOARD_VENDOR, "Hampoo"),