Skip to content

Commit be33d52

Browse files
Maccraft123martinezjavier
authored andcommitted
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. Signed-off-by: Maya Matuszczyk <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Javier Martinez Canillas <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 30f8c74 commit be33d52

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/gpu/drm/drm_panel_orientation_quirks.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,12 @@ static const struct dmi_system_id orientation_data[] = {
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"),

0 commit comments

Comments
 (0)