distribution/packages/kernel/linux/patches/X86_64/005-ayaneo-display-quirks.patch

29 lines
1.3 KiB
Diff
Raw Normal View History

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-04 02:45:50 +00:00
+++ linux-6.1.2/drivers/gpu/drm/drm_panel_orientation_quirks.c 2023-01-03 21:41:26.154076595 -0500
@@ -164,11 +164,23 @@ 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,
+ }, { /* 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,
}, { /* AYA NEO 2021 */
.matches = {
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYADEVICE"),
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-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"),
+ },
.driver_data = (void *)&lcd800x1280_rightside_up,
}, { /* AYA NEO AIR */
2023-01-04 02:10:59 +00:00
.matches = {