distribution/packages/kernel/linux/patches/AMD64/002-ayaneo-display-quirks.patch

40 lines
1.7 KiB
Diff
Raw Normal View History

diff -rupN linux-6.3.9.orig/drivers/gpu/drm/drm_panel_orientation_quirks.c linux-6.3.9/drivers/gpu/drm/drm_panel_orientation_quirks.c
--- linux-6.3.9.orig/drivers/gpu/drm/drm_panel_orientation_quirks.c 2023-06-21 22:34:17.552602880 +0000
+++ linux-6.3.9/drivers/gpu/drm/drm_panel_orientation_quirks.c 2023-06-21 22:41:10.707016041 +0000
@@ -170,13 +170,13 @@ static const struct dmi_system_id orient
2023-01-03 23:08:36 +00:00
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "T103HAF"),
},
.driver_data = (void *)&lcd800x1280_rightside_up,
- }, { /* AYA NEO 2021 */
+ }, { /* AYA NEO 2021 and Founder */
2023-01-03 23:08:36 +00:00
.matches = {
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYADEVICE"),
- DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AYA NEO 2021"),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AYA NEO"),
},
.driver_data = (void *)&lcd800x1280_rightside_up,
- }, { /* AYA NEO AIR */
+ }, { /* AYA NEO AIR, AIR Pro, AIR Plus*/
2023-01-04 02:10:59 +00:00
.matches = {
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"),
DMI_MATCH(DMI_PRODUCT_NAME, "AIR"),
@@ -188,6 +188,18 @@ static const struct dmi_system_id orient
DMI_MATCH(DMI_BOARD_NAME, "NEXT"),
},
.driver_data = (void *)&lcd800x1280_rightside_up,
+ }, { /* AYA NEO GEEK */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "AYANEO"),
+ DMI_MATCH(DMI_BOARD_NAME, "GEEK"),
+ },
+ .driver_data = (void *)&lcd800x1280_rightside_up,
+ }, { /* AYANEO AYANEO 2 */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AYANEO 2"),
+ },
+ .driver_data = (void *)&lcd1200x1920_rightside_up,
}, { /* Chuwi HiBook (CWI514) */
.matches = {
DMI_MATCH(DMI_BOARD_VENDOR, "Hampoo"),