[PATCH RESEND 1/2] drm: panel-orientation-quirks: Add quirk for Ayn Loki Zero

2024-07-28 Thread Bouke Sybren Haarsma
Add quirk orientation for the Ayn Loki Zero.

This also has been tested/used by the JELOS team.

Signed-off-by: Bouke Sybren Haarsma 
---
 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 c16c7678237e..a1dfeaae644d 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 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"),
-- 
2.45.2



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

2024-07-28 Thread 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 
---
 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



[PATCH RESEND 0/2] drm: panel-orientation-quirks: Add quirks for AYN loki zero/max

2024-07-28 Thread Bouke Sybren Haarsma
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
-- 
2.45.2



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

2023-10-23 Thread 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 
---
 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 7466354c7e5b..5adf9ff07c3e 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -196,6 +196,12 @@ static const struct dmi_system_id orientation_data[] = {
  DMI_MATCH(DMI_BOARD_NAME, "NEXT"),
},
.driver_data = (void *)&lcd800x1280_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.41.0



[PATCH RESEND 1/2] drm: panel-orientation-quirks: Add quirk for Ayn Loki Zero

2023-10-23 Thread Bouke Sybren Haarsma
Add quirk orientation for the Ayn Loki Zero.

This also has been tested/used by the JELOS team.

Signed-off-by: Bouke Sybren Haarsma 
---
 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 d5c15292ae93..7466354c7e5b 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -196,6 +196,12 @@ static const struct dmi_system_id orientation_data[] = {
  DMI_MATCH(DMI_BOARD_NAME, "NEXT"),
},
.driver_data = (void *)&lcd800x1280_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"),
-- 
2.41.0



[PATCH RESEND 0/2] drm: panel-orientation-quirks: Add quirks for AYN loki zero/max

2023-10-23 Thread Bouke Sybren Haarsma
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(+)

-- 
2.41.0



[PATCH 1/2] drm: panel-orientation-quirks: Add quirk for Ayn Loki Zero

2023-10-08 Thread Bouke Sybren Haarsma
Add quirk orientation for the Ayn Loki Zero.

This also has been tested/used by the JELOS team.

Signed-off-by: Bouke Sybren Haarsma 
---
 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 d5c15292ae93..7466354c7e5b 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -196,6 +196,12 @@ static const struct dmi_system_id orientation_data[] = {
  DMI_MATCH(DMI_BOARD_NAME, "NEXT"),
},
.driver_data = (void *)&lcd800x1280_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"),
-- 
2.41.0



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

2023-10-08 Thread 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 
---
 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 7466354c7e5b..5adf9ff07c3e 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -196,6 +196,12 @@ static const struct dmi_system_id orientation_data[] = {
  DMI_MATCH(DMI_BOARD_NAME, "NEXT"),
},
.driver_data = (void *)&lcd800x1280_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.41.0



[PATCH 0/2] drm: panel-orientation-quirks: Add quirks for AYN loki zero/max

2023-10-08 Thread Bouke Sybren Haarsma
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(+)

-- 
2.41.0