mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: John Edwards <uejji@uejji.net>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Maxime Ripard <mripard@kernel.org>,
	David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>
Cc: Andrew Wyatt <fewtarius@steamfork.org>,
	dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 3/5] drm: panel-orientation-quirks: Add quirk for AYA NEO Slide
Date: Wed, 12 Feb 2025 11:48:01 +0100	[thread overview]
Message-ID: <eec5bb5f-80ad-469e-b3bc-1e8bb2de36a2@redhat.com> (raw)
In-Reply-To: <20250124204648.56989-8-uejji@uejji.net>

Hi,

On 24-Jan-25 9:46 PM, John Edwards wrote:
> From: Andrew Wyatt <fewtarius@steamfork.org>
> 
> The AYANEO Slide uses a 1080x1920 portrait LCD panel.  This is the same
> panel used on the AYANEO Air Plus, but the DMI data is too different to
> match both with one entry.
> 
> Add a DMI match to correctly rotate the panel on the AYANEO Slide.
> 
> This also covers the Antec Core HS, which is a rebranded AYANEO Slide with
> the exact same hardware and DMI strings.
> 
> Signed-off-by: Andrew Wyatt <fewtarius@steamfork.org>
> Signed-off-by: John Edwards <uejji@uejji.net>
> Tested-by: John Edwards <uejji@uejji.net>
> ---
>  drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c
> index c5acf2628..9e6708cd1 100644
> --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
> +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
> @@ -244,6 +244,12 @@ static const struct dmi_system_id orientation_data[] = {
>  		  DMI_MATCH(DMI_BOARD_NAME, "KUN"),
>  		},
>  		.driver_data = (void *)&lcd1600x2560_rightside_up,
> +	}, {	/* AYA NEO SLIDE */
> +		 .matches = {
> +		   DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"),
> +		   DMI_MATCH(DMI_PRODUCT_NAME, "SLIDE"),
> +	},

Since this '}' is closing the .matches initializer it should be indented 2 tabs

> +		.driver_data = (void *)&lcd1080x1920_leftside_up,
>  	}, {    /* AYN Loki Max */
>  		.matches = {
>  			DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ayn"),

Regards,

Hans



  reply	other threads:[~2025-02-12 10:48 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-24 20:46 [PATCH v2 0/5] Handheld gaming PC panel orientation quirks John Edwards
2025-01-24 20:46 ` [PATCH v2 1/5] drm: panel-orientation-quirks: Add support for AYANEO 2S John Edwards
2025-01-24 20:46 ` [PATCH v2 2/5] drm: panel-orientation-quirks: Add quirks for AYA NEO Flip DS and KB John Edwards
2025-02-12 10:47   ` Hans de Goede
2025-01-24 20:46 ` [PATCH v2 3/5] drm: panel-orientation-quirks: Add quirk for AYA NEO Slide John Edwards
2025-02-12 10:48   ` Hans de Goede [this message]
2025-01-24 20:46 ` [PATCH v2 4/5] drm: panel-orientation-quirks: Add new quirk for GPD Win 2 John Edwards
2025-01-24 20:46 ` [PATCH v2 5/5] drm: panel-orientation-quirks: Add quirk for OneXPlayer Mini (Intel) From: Andrew Wyatt <fewtarius@steamfork.org> John Edwards
2025-01-24 20:58   ` John Edwards
2025-01-24 20:52 ` [PATCH v2 5/5] drm: panel-orientation-quirks: Add quirk for OneXPlayer Mini (Intel) John Edwards
2025-02-11 13:55 ` [PATCH v2 0/5] Handheld gaming PC panel orientation quirks Thomas Zimmermann
2025-02-12 10:51   ` Hans de Goede
2025-02-12 11:11     ` Thomas Zimmermann
2025-02-12 11:14       ` Hans de Goede
2025-02-12 19:59         ` John Edwards
2025-02-13  7:35           ` Thomas Zimmermann
2025-02-13 22:33             ` John Edwards

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=eec5bb5f-80ad-469e-b3bc-1e8bb2de36a2@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=airlied@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=fewtarius@steamfork.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=simona@ffwll.ch \
    --cc=uejji@uejji.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®