[PATCH v1 03/10] drm: panel-orientation-quirks: Add Ayaneo 3

Antheas Kapenekakis posted 10 patches 4 weeks ago
[PATCH v1 03/10] drm: panel-orientation-quirks: Add Ayaneo 3
Posted by Antheas Kapenekakis 4 weeks ago
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
Re: [PATCH v1 03/10] drm: panel-orientation-quirks: Add Ayaneo 3
Posted by Philip Müller 4 weeks ago
On 9/4/25 19:50, Antheas Kapenekakis wrote:
> 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"),

Reviewed-by: Philip Müller <philm@manjaro.org>

-- 
Best, Philip