Skip to contentSkip to conversation

drm: panel-orientation-quirks: Make the Lenovo Ideapad D330 quirk also match the 81MD version

PATCH New Hans de Goede 1 participant 1 message May 8, 2021

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

PATCH 1/1 drm: panel-orientation-quirks: Make the Lenovo Ideapad D330 quirk also match the 81MD version

The Lenovo Ideapad D330 has 2 versions, one with a DMI_PRODUCT_NAME of "81H3" and one with "81MD". Testing has shown that the "81MD" also has a 90 degree mounted panel with a resolution of 1200x1920.

Drop the DMI_PRODUCT_NAME from the existing quirk so that the existing quirk matches both versions.

---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/drm_panel_orientation_quirks.c +0 -1
index 58f5dc2f6dd5..3fadf4aade3a 100644
@@ -207,7 +207,6 @@ static const struct dmi_system_id orientation_data[] = {
 	}, {	/* Lenovo Ideapad D330 */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),
-		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "81H3"),
 		  DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad D330-10IGM"),
 		},
 		.driver_data = (void *)&lcd1200x1920_rightside_up,
Signature · 1 line
2.31.1