drm: panel-orientation-quirks: Add quirk for OrangePi Neo
authorjsg <jsg@openbsd.org>
Mon, 9 Sep 2024 08:21:03 +0000 (08:21 +0000)
committerjsg <jsg@openbsd.org>
Mon, 9 Sep 2024 08:21:03 +0000 (08:21 +0000)
From Philip Mueller
512bd0cd535bf9b819e638585d5fc69e97d2663b in linux-6.6.y/6.6.50
d60c429610a14560085d98fa6f4cdb43040ca8f0 in mainline linux

sys/dev/pci/drm/drm_panel_orientation_quirks.c

index 85c6a1a..267f3f5 100644 (file)
@@ -420,6 +420,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."),