drm: panel-orientation-quirks: Add quirk for Aya Neo KUN
authorTobias Jakobi <tjakobi@math.uni-bielefeld.de>
Sun, 10 Mar 2024 22:04:00 +0000 (23:04 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 10 Jun 2024 10:19:25 +0000 (12:19 +0200)
Similar to the other Aya Neo devices this one features
again a portrait screen, here with a native resolution
of 1600x2560.

Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240310220401.895591-1-tjakobi@math.uni-bielefeld.de
drivers/gpu/drm/drm_panel_orientation_quirks.c

index aa93129..2166208 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"),