mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Antheas Kapenekakis <lkml@antheas.dev>
To: dri-devel@lists.freedesktop.org
Cc: linux-kernel@vger.kernel.org,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Maxime Ripard <mripard@kernel.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
	philm@manjaro.org, Antheas Kapenekakis <lkml@antheas.dev>
Subject: [PATCH v1 03/10] drm: panel-orientation-quirks: Add Ayaneo 3
Date: Thu,  4 Sep 2025 19:50:18 +0200	[thread overview]
Message-ID: <20250904175025.3249650-4-lkml@antheas.dev> (raw)
In-Reply-To: <20250904175025.3249650-1-lkml@antheas.dev>

The Ayaneo 3 comes with two panels, an OLED right side up 1080p panel
and an IPS landscape 1080p panel. However, both have the same DMI data.
This quirk adds support for the portrait OLED panel.

As the landscape panel is 1920x1080 and the right side up panel is
1080x1920, the width and height arguments are used to differentiate
the panels.

Signed-off-by: Antheas Kapenekakis <lkml@antheas.dev>
---
 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 d724253407af..0ea06f928f79 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -209,6 +209,12 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_MATCH(DMI_PRODUCT_NAME, "AYANEO 2"),
 		},
 		.driver_data = (void *)&lcd1200x1920_rightside_up,
+	}, {	/* AYANEO 3 */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AYANEO 3"),
+		},
+		.driver_data = (void *)&lcd1080x1920_rightside_up,
 	}, {	/* AYA NEO 2021 */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYADEVICE"),
-- 
2.51.0



  parent reply	other threads:[~2025-09-04 17:50 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-04 17:50 [PATCH v1 00/10] drm: panel-orientation-quirks: Add various handheld quirks Antheas Kapenekakis
2025-09-04 17:50 ` [PATCH v1 01/10] drm: panel-orientation-quirks: Add AOKZOE A1 Pro Antheas Kapenekakis
2025-09-04 18:04   ` Philip Müller
2025-09-04 17:50 ` [PATCH v1 02/10] drm: panel-orientation-quirks: add additional ID for Ayaneo 2021 Antheas Kapenekakis
2025-09-04 18:04   ` Philip Müller
2025-09-04 17:50 ` Antheas Kapenekakis [this message]
2025-09-04 18:15   ` [PATCH v1 03/10] drm: panel-orientation-quirks: Add Ayaneo 3 Philip Müller
2025-09-04 17:50 ` [PATCH v1 04/10] drm: panel-orientation-quirks: Add OneXPlayer X1 variants Antheas Kapenekakis
2025-09-04 18:08   ` Philip Müller
2025-09-04 17:50 ` [PATCH v1 05/10] drm: panel-orientation-quirks: Add OneXPlayer X1 Mini variants Antheas Kapenekakis
2025-09-04 18:08   ` Philip Müller
2025-09-04 17:50 ` [PATCH v1 06/10] drm: panel-orientation-quirks: Add OneXPlayer F1 variants Antheas Kapenekakis
2025-09-04 18:09   ` Philip Müller
2025-09-04 17:50 ` [PATCH v1 07/10] drm: panel-orientation-quirks: Add OneXPlayer G1 variants Antheas Kapenekakis
2025-09-04 18:08   ` Philip Müller
2025-09-04 17:50 ` [PATCH v1 08/10] drm: panel-orientation-quirks: Add GPD Win Max (2021) Antheas Kapenekakis
2025-09-04 18:09   ` Philip Müller
2025-09-04 17:50 ` [PATCH v1 09/10] drm: panel-orientation-quirks: Add GPD Pocket 4 Antheas Kapenekakis
2025-09-04 18:09   ` Philip Müller
2025-09-04 17:50 ` [PATCH v1 10/10] drm: panel-orientation-quirks: Add Zeenix Lite and Pro Antheas Kapenekakis
2025-09-04 18:09   ` Philip Müller
2025-10-13  7:35 ` [PATCH v1 00/10] drm: panel-orientation-quirks: Add various handheld quirks Antheas Kapenekakis

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=20250904175025.3249650-4-lkml@antheas.dev \
    --to=lkml@antheas.dev \
    --cc=airlied@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=philm@manjaro.org \
    --cc=simona@ffwll.ch \
    --cc=tzimmermann@suse.de \
    /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®