]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm: panel-orientation-quirks: Add quirk for AYA NEO GEEK
authorJoaquín Ignacio Aramendía <samsagax@gmail.com>
Mon, 16 Sep 2024 13:18:55 +0000 (15:18 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sun, 22 Sep 2024 14:08:41 +0000 (17:08 +0300)
Add quirk orientation for AYA NEO GEEK. The name appears without
spaces in DMI strings. The board name is completely different to
the previous models making it difficult to reuse their quirks
despite being the same resolution and using the same orientation.

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/40350b0d63fe2b54e7cba1e14be50917203f0079.1726492131.git.tjakobi@math.uni-bielefeld.de
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/drm_panel_orientation_quirks.c

index 4dd9ecfa5f95792b82812c35194fe88448c6bd9c..3f2e2b851cbc539f4c158a96d784c4506b7a9458 100644 (file)
@@ -208,6 +208,12 @@ static const struct dmi_system_id orientation_data[] = {
                  DMI_MATCH(DMI_PRODUCT_NAME, "AYA NEO Founder"),
                },
                .driver_data = (void *)&lcd800x1280_rightside_up,
+       }, {    /* AYA NEO GEEK */
+               .matches = {
+                 DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"),
+                 DMI_MATCH(DMI_PRODUCT_NAME, "GEEK"),
+               },
+               .driver_data = (void *)&lcd800x1280_rightside_up,
        }, {    /* AYA NEO NEXT */
                .matches = {
                  DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "AYANEO"),