Skip to contentSkip to conversation

drm: panel-orientation-quirks: Change Air's quirk to support Air Plus

PATCH In review Maya Matuszczyk 3 participants 3 messages May 15, 2023 – May 17, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm: panel-orientation-quirks: Change Air's quirk to support Air Plus

It turned out that Aya Neo Air Plus had a different board name than expected.
This patch changes Aya Neo Air's quirk to account for that, as both devices share "Air" in DMI product name.

Tested on Air claiming to be an Air Pro, and on Air Plus.

---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/drm_panel_orientation_quirks.c +1 -1
index b1a38e6ce2f8..0cb646cb04ee 100644
@@ -179,7 +179,7 @@ static const struct dmi_system_id orientation_data[] = {
 	}, {	/* AYA NEO AIR */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"),
-		  DMI_MATCH(DMI_BOARD_NAME, "AIR"),
+		  DMI_MATCH(DMI_PRODUCT_NAME, "AIR"),
 		},
 		.driver_data = (void *)&lcd1080x1920_leftside_up,
 	}, {	/* AYA NEO NEXT */
Signature · 1 line
2.40.1
#1 lore raw
FYI: kernel test robot notices the stable kernel rule is not satisfied.

Hi,

Thanks for your patch.

FYI: kernel test robot notices the stable kernel rule is not satisfied.

Rule: 'Cc: [email protected]' or 'commit <sha1> upstream.'
Subject: [PATCH] drm: panel-orientation-quirks: Change Air's quirk to support Air Plus

The check is based on https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
Reviewed-by on v1 1/1
#2 lore raw
In reply to Maya Matuszczyk

Hi,

Quoted 8 lines · Maya Matuszczyk

It turned out that Aya Neo Air Plus had a different board name than expected.
This patch changes Aya Neo Air's quirk to account for that, as both devices share "Air" in DMI product name.

Tested on Air claiming to be an Air Pro, and on Air Plus.

Thanks, patch looks good to me:

I have just pushed this to drm-misc-fixes, so it should get send to Linus with the next drm-fixes pull-req.

Regards,

Hans

Quoted 17 lines
---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/drm_panel_orientation_quirks.c +1 -1
index b1a38e6ce2f8..0cb646cb04ee 100644
@@ -179,7 +179,7 @@ static const struct dmi_system_id orientation_data[] = {
 	}, {	/* AYA NEO AIR */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"),
-		  DMI_MATCH(DMI_BOARD_NAME, "AIR"),
+		  DMI_MATCH(DMI_PRODUCT_NAME, "AIR"),
 		},
 		.driver_data = (void *)&lcd1080x1920_leftside_up,
 	}, {	/* AYA NEO NEXT */