diff mbox series

[RESEND,2/2] drm: panel-orientation-quirks: Add quirk for Ayn Loki Max

Message ID 20240728124731.168452-3-boukehaarsma23@gmail.com (mailing list archive)
State New, archived
Headers show
Series drm: panel-orientation-quirks: Add quirks for AYN loki zero/max | expand

Commit Message

Bouke Sybren Haarsma July 28, 2024, 12:47 p.m. UTC
Add quirk orientation for Ayn Loki Max model.

This has been tested by JELOS team that uses their
own patched kernel for a while now and confirmed by
users in the ChimeraOS discord servers.

Signed-off-by: Bouke Sybren Haarsma <boukehaarsma23@gmail.com>
---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Luke Jones Aug. 11, 2024, 9:20 a.m. UTC | #1
On Mon, 29 Jul 2024, at 12:47 AM, Bouke Sybren Haarsma wrote:
> Add quirk orientation for Ayn Loki Max model.
> 
> This has been tested by JELOS team that uses their
> own patched kernel for a while now and confirmed by
> users in the ChimeraOS discord servers.
> 
> Signed-off-by: Bouke Sybren Haarsma <boukehaarsma23@gmail.com>
> ---
> 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 a1dfeaae644d..0830cae9a4d0 100644
> --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
> +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
> @@ -208,6 +208,12 @@ static const struct dmi_system_id orientation_data[] = {
>   DMI_MATCH(DMI_BOARD_NAME, "KUN"),
> },
> .driver_data = (void *)&lcd1600x2560_rightside_up,
> + }, {    /* AYN Loki Max */
> + .matches = {
> + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ayn"),
> + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Loki Max"),
> + },
> + .driver_data = (void *)&lcd1080x1920_leftside_up,
> }, { /* AYN Loki Zero */
> .matches = {
> DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ayn"),
> -- 
> 2.45.2

Hi All, are we able to get some movement on this? Although many folks who rely on this are able to keep patching it would be wonderful for others to not have to worry about it.

Cheers,
Luke.
diff mbox series

Patch

diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c
index a1dfeaae644d..0830cae9a4d0 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -208,6 +208,12 @@  static const struct dmi_system_id orientation_data[] = {
 		  DMI_MATCH(DMI_BOARD_NAME, "KUN"),
 		},
 		.driver_data = (void *)&lcd1600x2560_rightside_up,
+	}, {    /* AYN Loki Max */
+		.matches = {
+			DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ayn"),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Loki Max"),
+		},
+		.driver_data = (void *)&lcd1080x1920_leftside_up,
 	}, {	/* AYN Loki Zero */
 		.matches = {
 			DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ayn"),