]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm: panel-orientation-quirks: Add quirk for AYA NEO Slide
authorAndrew Wyatt <fewtarius@steamfork.org>
Thu, 13 Feb 2025 22:24:51 +0000 (22:24 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2025 08:45:18 +0000 (10:45 +0200)
[ Upstream commit 132c89ef8872e602cfb909377815111d121fe8d7 ]

The AYANEO Slide uses a 1080x1920 portrait LCD panel.  This is the same
panel used on the AYANEO Air Plus, but the DMI data is too different to
match both with one entry.

Add a DMI match to correctly rotate the panel on the AYANEO Slide.

This also covers the Antec Core HS, which is a rebranded AYANEO Slide with
the exact same hardware and DMI strings.

Signed-off-by: Andrew Wyatt <fewtarius@steamfork.org>
Signed-off-by: John Edwards <uejji@uejji.net>
Tested-by: John Edwards <uejji@uejji.net>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20250213222455.93533-4-uejji@uejji.net
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/drm_panel_orientation_quirks.c

index d9ed6214cf28b9ccebd423c89ae6b1eb556fbf41..702246ee7ced2ab286e9d925f0354455d9e25194 100644 (file)
@@ -244,6 +244,12 @@ static const struct dmi_system_id orientation_data[] = {
                  DMI_MATCH(DMI_BOARD_NAME, "KUN"),
                },
                .driver_data = (void *)&lcd1600x2560_rightside_up,
+       }, {    /* AYA NEO SLIDE */
+               .matches = {
+                 DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"),
+                 DMI_MATCH(DMI_PRODUCT_NAME, "SLIDE"),
+               },
+               .driver_data = (void *)&lcd1080x1920_leftside_up,
        }, {    /* AYN Loki Max */
                .matches = {
                        DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ayn"),