Skip to content

Commit 4150f22

Browse files
Samsagaxgregkh
authored andcommitted
drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model
[ Upstream commit 361ebf5 ] Add quirk orientation for AYA NEO 2. The name appears without spaces in DMI strings. That made it difficult to reuse the 2021 match. Also the display is larger in resolution. Tested by the JELOS team that has been patching their own kernel for a while now and confirmed by users in the AYA NEO and ChimeraOS discord servers. Signed-off-by: Joaquín Ignacio Aramendía <[email protected]> Signed-off-by: Tobias Jakobi <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/2b35545b77a9fd8c9699b751ca282226dcecb1dd.1726492131.git.tjakobi@math.uni-bielefeld.de Signed-off-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 9a13d81 commit 4150f22

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
@@ -184,6 +184,12 @@ static const struct dmi_system_id orientation_data[] = {
184184
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "T103HAF"),
185185
},
186186
.driver_data = (void *)&lcd800x1280_rightside_up,
187+
}, { /* AYA NEO AYANEO 2 */
188+
.matches = {
189+
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"),
190+
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AYANEO 2"),
191+
},
192+
.driver_data = (void *)&lcd1200x1920_rightside_up,
187193
}, { /* AYA NEO 2021 */
188194
.matches = {
189195
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYADEVICE"),

0 commit comments

Comments
 (0)