drm: panel-orientation-quirks: Add quirks for AYN loki zero/max
Subsystems (2)
cover drm: panel-orientation-quirks: Add quirks for AYN loki zero/max
Add orientation quirks for AYN loki devices:
- Ayn Loki Zero
- Ayn Loki Max
The quirks have been tested by the JELOS team and ChimeraOS who have been patching their own kernel. This has been confirmed working by users in the ChimeraOS discord servers.
Since there are additional Ayn Loki devices I have made separate matches for the devices.
Bouke Sybren Haarsma (2):
drm: panel-orientation-quirks: Add quirk for Ayn Loki Zero
drm: panel-orientation-quirks: Add quirk for Ayn Loki Max
drivers/gpu/drm/drm_panel_orientation_quirks.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
base-commit: 668d33c9ff922c4590c58754ab064aaf53c387dd
Signature · 1 line
2.45.2
PATCH RESEND 1/2 drm: panel-orientation-quirks: Add quirk for Ayn Loki Zero
Add quirk orientation for the Ayn Loki Zero.
This also has been tested/used by the JELOS team.
--- drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +6 -0
@@ -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 Zero */ + .matches = { +DMI_EXACT_MATCH (DMI_SYS_VENDOR ,"ayn" ), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Loki Zero"), + }, + .driver_data = (void *)&lcd1080x1920_leftside_up, }, { /* Chuwi HiBook (CWI514) */ .matches = { DMI_MATCH(DMI_BOARD_VENDOR, "Hampoo"),
Signature · 1 line
2.45.2
PATCH RESEND 2/2 drm: panel-orientation-quirks: Add quirk for Ayn Loki Max
In reply to Bouke Sybren HaarsmaAdd 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.
--- drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +6 -0
@@ -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"),
Signature · 1 line
2.45.2
Re: [PATCH RESEND 2/2] drm: panel-orientation-quirks: Add quirk for Ayn Loki Max
Quoted 30 lines · Bouke Sybren Haarsma
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 <[email protected]>---
drivers/gpu/drm/drm_panel_orientation_quirks.c| 6 ++++++1 file changed, 6 insertions(+)drivers/gpu/drm/drm_panel_orientation_quirks.c +6
-0@@ -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"),Signature · 1 line
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.
Hi,
Quoted 12 lines · Bouke Sybren Haarsma
Add orientation quirks for AYN loki devices:
- Ayn Loki Zero
- Ayn Loki MaxThe quirks have been tested by the JELOS team and ChimeraOS who have been patching their own kernel. This has been confirmed working by users in the ChimeraOS discord servers.
Since there are additional Ayn Loki devices I have made separate matches for the devices.
Quoted 6 lines
Bouke Sybren Haarsma (2):
drm: panel-orientation-quirks: Add quirk for Ayn Loki Zero
drm: panel-orientation-quirks: Add quirk for Ayn Loki Maxdrivers/gpu/drm/drm_panel_orientation_quirks.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
Thanks, both patches look good to me:
I have pushed this to drm-misc-fixes now, sorry for being a bit slow with picking these up.
Regards,
Hans