summarylogtreecommitdiffstats
path: root/0001-OrangePi-Neo-panel-orientation-quirk.patch
blob: ad04ec936edeb418baa7c953323571c80d6de9c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- linux-6.7/drivers/gpu/drm/drm_panel_orientation_quirks.c	2024-02-16 14:35:44.755058457 +0700
+++ linux-6.7/drivers/gpu/drm/drm_panel_orientation_quirks.c	2024-02-16 14:34:26.391114606 +0700
@@ -396,6 +396,12 @@ static const struct dmi_system_id orient
 		  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."),