]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm: panel-orientation-quirks: Add quirk for OrangePi Neo
authorPhilip Mueller <philm@manjaro.org>
Mon, 15 Jul 2024 04:57:49 +0000 (11:57 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Sep 2024 09:06:38 +0000 (11:06 +0200)
[ Upstream commit d60c429610a14560085d98fa6f4cdb43040ca8f0 ]

This adds a DMI orientation quirk for the OrangePi Neo Linux Gaming
Handheld.

Signed-off-by: Philip Mueller <philm@manjaro.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240715045818.1019979-1-philm@manjaro.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/drm_panel_orientation_quirks.c

index 43de9dfcba19a54dd8a86cd9b927fa32d525a037..f1091cb87de0c4aac2cf469a1b560d21605e5be7 100644 (file)
@@ -318,6 +318,12 @@ static const struct dmi_system_id orientation_data[] = {
                  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONE XPLAYER"),
                },
                .driver_data = (void *)&lcd1600x2560_leftside_up,
+       }, {    /* OrangePi Neo */
+               .matches = {
+                 DMI_EXACT_MATCH(DMI_SYS_VENDOR, "OrangePi"),
+                 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "NEO-01"),
+               },
+               .driver_data = (void *)&lcd1200x1920_rightside_up,
        }, {    /* Samsung GalaxyBook 10.6 */
                .matches = {
                  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),