Skip to contentSkip to conversation

drm: panel-orientation-quirks: Add Chuwi MiniBook X quirk

PATCH In review Ibrahim Burak Yorulmaz 2 participants 2 messages Aug 9, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 drm: panel-orientation-quirks: Add Chuwi MiniBook X quirk

v2:
- Changed subject prefix to drm: panel-orientation-quirks

The Chuwi MiniBook X (CWI558) uses a tablet screen which is oriented incorrectly by default. This adds a DMI quirk to rotate the panel into the correct orientation.

---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +6 -0
index c554ad8f246b..c85f63c42bbe 100644
@@ -282,6 +282,12 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Hi10 pro tablet"),
 		},
 		.driver_data = (void *)&lcd1200x1920_rightside_up,
+	}, {	/* Chuwi MiniBook X (CWI558) */
+		.matches = {
+		  DMI_MATCH(DMI_SYS_VENDOR, "CHUWI"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "MiniBook X"),
+		},
+		.driver_data = (void *)&lcd1200x1920_rightside_up,
 	}, {	/* Dynabook K50 */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Dynabook Inc."),
Signature · 1 line
2.43.0
Reviewed-by on v2 1/1
#1 lore raw

Hi Ibrahim,

Quoted 8 lines · Ibrahim Burak Yorulmaz

v2:
- Changed subject prefix to drm: panel-orientation-quirks

The Chuwi MiniBook X (CWI558) uses a tablet screen which is oriented incorrectly by default. This adds a DMI quirk to rotate the panel into the correct orientation.

Thanks, patch looks good to me:

Regards,

Hans

Quoted 21 lines
---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +6 -0
index c554ad8f246b..c85f63c42bbe 100644
@@ -282,6 +282,12 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Hi10 pro tablet"),
 		},
 		.driver_data = (void *)&lcd1200x1920_rightside_up,
+	}, {	/* Chuwi MiniBook X (CWI558) */
+		.matches = {
+		  DMI_MATCH(DMI_SYS_VENDOR, "CHUWI"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "MiniBook X"),
+		},
+		.driver_data = (void *)&lcd1200x1920_rightside_up,
 	}, {	/* Dynabook K50 */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Dynabook Inc."),