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)
committerHans de Goede <hdegoede@redhat.com>
Mon, 15 Jul 2024 13:29:29 +0000 (15:29 +0200)
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
drivers/gpu/drm/drm_panel_orientation_quirks.c

index 3860a8c..903f4bf 100644 (file)
@@ -414,6 +414,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."),