2023-01-03 23:08:36 +00:00
|
|
|
diff -rupN linux-6.1.2.orig/drivers/gpu/drm/drm_panel_orientation_quirks.c linux-6.1.2/drivers/gpu/drm/drm_panel_orientation_quirks.c
|
|
|
|
--- linux-6.1.2.orig/drivers/gpu/drm/drm_panel_orientation_quirks.c 2022-12-31 16:12:06.802587676 -0500
|
2023-01-05 21:59:30 +00:00
|
|
|
+++ linux-6.1.2/drivers/gpu/drm/drm_panel_orientation_quirks.c 2023-01-05 13:59:17.943715854 -0500
|
|
|
|
@@ -164,12 +164,36 @@ 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,
|
2023-01-05 21:59:30 +00:00
|
|
|
- }, { /* AYA NEO 2021 */
|
2023-01-03 23:08:36 +00:00
|
|
|
+ }, { /* 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,
|
2023-01-05 21:59:30 +00:00
|
|
|
+ }, { /* AYA NEO 2021 (first batch) */
|
2023-01-03 23:08:36 +00:00
|
|
|
.matches = {
|
2023-01-05 21:59:30 +00:00
|
|
|
- DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYADEVICE"),
|
|
|
|
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"),
|
2023-01-04 02:10:59 +00:00
|
|
|
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AYA NEO 2021"),
|
|
|
|
- },
|
2023-01-04 02:45:50 +00:00
|
|
|
+ },
|
2023-01-04 02:32:50 +00:00
|
|
|
+ .driver_data = (void *)&lcd800x1280_rightside_up,
|
2023-01-05 21:59:30 +00:00
|
|
|
+ }, { /* AYA NEO 2021 */
|
|
|
|
+ .matches = {
|
|
|
|
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"),
|
|
|
|
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AYANEO 2021"),
|
|
|
|
+ },
|
|
|
|
+ .driver_data = (void *)&lcd800x1280_rightside_up,
|
2023-01-04 02:10:59 +00:00
|
|
|
+ }, { /* AYA NEO 2021 Pro / Pro Retro Power */
|
|
|
|
+ .matches = {
|
|
|
|
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"),
|
|
|
|
+ DMI_MATCH(DMI_PRODUCT_NAME, "AYANEO 2021 Pro"),
|
|
|
|
+ },
|
2023-01-04 02:03:00 +00:00
|
|
|
.driver_data = (void *)&lcd800x1280_rightside_up,
|
2023-01-05 21:59:30 +00:00
|
|
|
+ }, { /* AYA NEO Founder */
|
|
|
|
+ .matches = {
|
|
|
|
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYA NEO"),
|
|
|
|
+ DMI_MATCH(DMI_PRODUCT_NAME, "AYA NEO Founder"),
|
|
|
|
+ },
|
|
|
|
+ .driver_data = (void *)&lcd800x1280_rightside_up,
|
2023-01-04 02:03:00 +00:00
|
|
|
}, { /* AYA NEO AIR */
|
2023-01-04 02:10:59 +00:00
|
|
|
.matches = {
|
2023-01-05 21:59:30 +00:00
|
|
|
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"),
|
|
|
|
@@ -182,6 +206,12 @@ 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,
|
|
|
|
}, { /* Chuwi HiBook (CWI514) */
|
|
|
|
.matches = {
|
|
|
|
DMI_MATCH(DMI_BOARD_VENDOR, "Hampoo"),
|