History

drm: panel-orientation-quirks: Add quirk for Aya Neo Next

The device is identified by "NEXT" in board name, however there are different versions of it, "Next Advance" and "Next Pro", that have different DMI board names. Due to a production error a batch or two have their board names prefixed by "AYANEO", this makes it 6 different DMI board names. To save some space in final kernel image DMI_MATCH is used instead of DMI_EXACT_MATCH.

Maya Matuszczyk committed 4 years ago

Commit be33d521 parent 30f8c741 file · +6 −0Browse files

Unified · Split

drivers/gpu/drm/drm_panel_orientation_quirks.c+6−0
@@ -152,6 +152,12 @@ static const struct dmi_system_id orientation_data[] = { · 151 unmodified lines
152152 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AYA NEO 2021"),
153153 },
154154 .driver_data = (void *)&lcd800x1280_rightside_up,
155+ }, { /* AYA NEO NEXT */
156+ .matches = {
157+ DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "AYANEO"),
158+ DMI_MATCH(DMI_BOARD_NAME, "NEXT"),
159+ },
160+ .driver_data = (void *)&lcd800x1280_rightside_up,
155161 }, { /* Chuwi HiBook (CWI514) */
156162 .matches = {
157163 DMI_MATCH(DMI_BOARD_VENDOR, "Hampoo"),