stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm: panel-orientation-quirks: Change Air's quirk to support Air Plus
@ 2023-05-15 18:48 Maya Matuszczyk
  2023-05-15 19:29 ` kernel test robot
  2023-05-17 10:18 ` Hans de Goede
  0 siblings, 2 replies; 3+ messages in thread
From: Maya Matuszczyk @ 2023-05-15 18:48 UTC (permalink / raw)
  To: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
	Daniel Vetter
  Cc: Hans de Goede, stable, Maya Matuszczyk, dri-devel, linux-kernel

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.

Signed-off-by: Maya Matuszczyk <maccraft123mc@gmail.com>
---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c
index b1a38e6ce2f8..0cb646cb04ee 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -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 */
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm: panel-orientation-quirks: Change Air's quirk to support Air Plus
  2023-05-15 18:48 [PATCH] drm: panel-orientation-quirks: Change Air's quirk to support Air Plus Maya Matuszczyk
@ 2023-05-15 19:29 ` kernel test robot
  2023-05-17 10:18 ` Hans de Goede
  1 sibling, 0 replies; 3+ messages in thread
From: kernel test robot @ 2023-05-15 19:29 UTC (permalink / raw)
  To: Maya Matuszczyk; +Cc: stable, oe-kbuild-all

Hi,

Thanks for your patch.

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

Rule: 'Cc: stable@vger.kernel.org' or 'commit <sha1> upstream.'
Subject: [PATCH] drm: panel-orientation-quirks: Change Air's quirk to support Air Plus
Link: https://lore.kernel.org/stable/20230515184843.1552612-1-maccraft123mc%40gmail.com

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

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm: panel-orientation-quirks: Change Air's quirk to support Air Plus
  2023-05-15 18:48 [PATCH] drm: panel-orientation-quirks: Change Air's quirk to support Air Plus Maya Matuszczyk
  2023-05-15 19:29 ` kernel test robot
@ 2023-05-17 10:18 ` Hans de Goede
  1 sibling, 0 replies; 3+ messages in thread
From: Hans de Goede @ 2023-05-17 10:18 UTC (permalink / raw)
  To: Maya Matuszczyk, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Daniel Vetter
  Cc: stable, dri-devel, linux-kernel

Hi,

On 5/15/23 20:48, Maya Matuszczyk wrote:
> 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.
> 
> Signed-off-by: Maya Matuszczyk <maccraft123mc@gmail.com>

Thanks, patch looks good to me:

Reviewed-by: Hans de Goede <hdegoede@redhat.com>

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




> ---
>  drivers/gpu/drm/drm_panel_orientation_quirks.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c
> index b1a38e6ce2f8..0cb646cb04ee 100644
> --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
> +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
> @@ -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 */


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-17 10:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-15 18:48 [PATCH] drm: panel-orientation-quirks: Change Air's quirk to support Air Plus Maya Matuszczyk
2023-05-15 19:29 ` kernel test robot
2023-05-17 10:18 ` Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).