]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model
authorJoaquín Ignacio Aramendía <samsagax@gmail.com>
Mon, 16 Sep 2024 13:18:51 +0000 (15:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 19:03:42 +0000 (20:03 +0100)
[ Upstream commit 361ebf5ef843b0aa1704c72eb26b91cf76c3c5b7 ]

Add quirk orientation for AYA NEO 2. The name appears without spaces in
DMI strings. That made it difficult to reuse the 2021 match. Also the
display is larger in resolution.

Tested by the JELOS team that has been patching their own kernel for a
while now and confirmed by users in the AYA NEO and ChimeraOS discord
servers.

Signed-off-by: Joaquín Ignacio Aramendía <samsagax@gmail.com>
Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/2b35545b77a9fd8c9699b751ca282226dcecb1dd.1726492131.git.tjakobi@math.uni-bielefeld.de
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/drm_panel_orientation_quirks.c

index 2d84d7ea1ab7a055bd8b26448ec69391bdc7380a..4864d8406db412259f8b571ee83dfe39fe519e1c 100644 (file)
@@ -184,6 +184,12 @@ 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 */
+               .matches = {
+                 DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"),
+                 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AYANEO 2"),
+               },
+               .driver_data = (void *)&lcd1200x1920_rightside_up,
        }, {    /* AYA NEO 2021 */
                .matches = {
                  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYADEVICE"),