]> git.hungrycats.org Git - linux/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2024 07:53:27 +0000 (09:53 +0200)
[ Upstream commit f74fb5df429ebc6a614dc5aa9e44d7194d402e5a ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/drm_panel_orientation_quirks.c

index 426bbee2d9f5e1a07b247ed48738553ca21c4375..5db52d6c5c35c295046cdfc2f9db85c1b2c8454f 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"),