]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm: panel-orientation-quirks: Add support for AYANEO 2S
authorAndrew Wyatt <fewtarius@steamfork.org>
Thu, 13 Feb 2025 22:24:49 +0000 (22:24 +0000)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 17 Feb 2025 08:19:05 +0000 (09:19 +0100)
AYANEO 2S uses the same panel and orientation as the AYANEO 2.

Update the AYANEO 2 DMI match to also match AYANEO 2S.

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-2-uejji@uejji.net
drivers/gpu/drm/drm_panel_orientation_quirks.c

index 4a73821b81f6fd9c7bf190ee113e68c1c1556088..f9c975338fc9ee0b1b5fed4e49ba9e0467aebb14 100644 (file)
@@ -184,10 +184,10 @@ static const struct dmi_system_id orientation_data[] = {
                  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "T103HAF"),
                },
                .driver_data = (void *)&lcd800x1280_rightside_up,
-       }, {    /* AYA NEO AYANEO 2 */
+       }, {    /* AYA NEO AYANEO 2/2S */
                .matches = {
                  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"),
-                 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AYANEO 2"),
+                 DMI_MATCH(DMI_PRODUCT_NAME, "AYANEO 2"),
                },
                .driver_data = (void *)&lcd1200x1920_rightside_up,
        }, {    /* AYA NEO 2021 */