Skip to contentSkip to conversation

drm: panel-orientation-quirks: Add various handheld quirks

PATCH Superseded Antheas Kapenekakis 2 participants 22 messages Sep 4, 2025 – Oct 13, 2025

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover drm: panel-orientation-quirks: Add various handheld quirks

Adds a bunch of handheld orientation quirks that collected in the Bazzite kernel. I made sure they are alphabetically sorted. In addition, to keep the series short, I grouped variants of the same device together.

Antheas Kapenekakis (10):
drm: panel-orientation-quirks: Add AOKZOE A1 Pro
drm: panel-orientation-quirks: add additional ID for Ayaneo 2021
drm: panel-orientation-quirks: Add Ayaneo 3
drm: panel-orientation-quirks: Add OneXPlayer X1 variants
drm: panel-orientation-quirks: Add OneXPlayer X1 Mini variants
drm: panel-orientation-quirks: Add OneXPlayer F1 variants
drm: panel-orientation-quirks: Add OneXPlayer G1 variants
drm: panel-orientation-quirks: Add GPD Win Max (2021)
drm: panel-orientation-quirks: Add GPD Pocket 4
drm: panel-orientation-quirks: Add Zeenix Lite and Pro

 .../gpu/drm/drm_panel_orientation_quirks.c    | 108 ++++++++++++++++++
 1 file changed, 108 insertions(+)

base-commit: 1b237f190eb3d36f52dffe07a40b5eb210280e00

Signature · 1 line
2.51.0
#1 lore raw

PATCH 1/10 drm: panel-orientation-quirks: Add AOKZOE A1 Pro

The AOKZOE A1 Pro has a portrait 16:10 panel, add a quirk for it.

---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +6 -0
index 3a218fb592ce..f5c7275cf026 100644
@@ -179,6 +179,12 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Win600"),
 		},
 		.driver_data = (void *)&lcd720x1280_rightside_up,
+	}, {	/* AOKZOE A1 Pro */
+		.matches = {
+		 DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AOKZOE"),
+		 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AOKZOE A1 Pro"),
+		},
+		.driver_data = (void *)&lcd1200x1920_leftside_up,
 	}, {	/* Asus T100HA */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
Signature · 1 line
2.51.0
Reviewed-by on v1 1/10
#2 lore raw

Re: [PATCH v1 01/10] drm: panel-orientation-quirks: Add AOKZOE A1 Pro

Quoted 14 lines · Antheas Kapenekakis

The AOKZOE A1 Pro has a portrait 16:10 panel, add a quirk for it.

---
  drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++
  1 file changed, 6 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +0 -0
index 3a218fb592ce..f5c7275cf026 100644
@@ -179,6 +179,12 @@ static const struct dmi_system_id orientation_data[] = {
  		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Win600"),
  		},

drivers/gpu/drm/drm_panel_orientation_quirks.c static const struct dmi_system_id orientation_data[] = { · line 190

Quoted 10 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c +6 -0
  		.driver_data = (void *)&lcd720x1280_rightside_up,
+	}, {	/* AOKZOE A1 Pro */
+		.matches = {
+		 DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AOKZOE"),
+		 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AOKZOE A1 Pro"),
+		},
+		.driver_data = (void *)&lcd1200x1920_leftside_up,
  	}, {	/* Asus T100HA */
  		.matches = {
  		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
Signature · 1 line
Best, Philip
#3 lore raw

PATCH 2/10 drm: panel-orientation-quirks: add additional ID for Ayaneo 2021

In reply to Antheas Kapenekakis

The Ayaneo 2021 has an alternate variant that skips AYA in the beginning. Add that as well.

---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +6 -0
index f5c7275cf026..d724253407af 100644
@@ -215,6 +215,12 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AYA NEO 2021"),
 		},
 		.driver_data = (void *)&lcd800x1280_rightside_up,
+	}, {	/* AYA NEO 2021 */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "NEO 2021"),
+		},
+		.driver_data = (void *)&lcd800x1280_rightside_up,
 	}, {	/* AYA NEO AIR */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"),
Signature · 1 line
2.51.0
Reviewed-by on v1 2/10
#4 lore raw

Re: [PATCH v1 02/10] drm: panel-orientation-quirks: add additional ID for Ayaneo 2021

Quoted 15 lines · Antheas Kapenekakis

The Ayaneo 2021 has an alternate variant that skips AYA in the beginning. Add that as well.

---
  drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++
  1 file changed, 6 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +0 -0
index f5c7275cf026..d724253407af 100644
@@ -215,6 +215,12 @@ static const struct dmi_system_id orientation_data[] = {
  		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AYA NEO 2021"),
  		},

drivers/gpu/drm/drm_panel_orientation_quirks.c static const struct dmi_system_id orientation_data[] = { · line 226

Quoted 10 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c +6 -0
  		.driver_data = (void *)&lcd800x1280_rightside_up,
+	}, {	/* AYA NEO 2021 */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "NEO 2021"),
+		},
+		.driver_data = (void *)&lcd800x1280_rightside_up,
  	}, {	/* AYA NEO AIR */
  		.matches = {
  		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"),
Signature · 1 line
Best, Philip
#5 lore raw

PATCH 3/10 drm: panel-orientation-quirks: Add Ayaneo 3

In reply to Antheas Kapenekakis

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.

---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +6 -0
index d724253407af..0ea06f928f79 100644
@@ -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"),
Signature · 1 line
2.51.0
Reviewed-by on v1 3/10
#6 lore raw

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

Quoted 20 lines · Antheas Kapenekakis

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.

---
  drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++
  1 file changed, 6 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +0 -0
index d724253407af..0ea06f928f79 100644
@@ -209,6 +209,12 @@ static const struct dmi_system_id orientation_data[] = {
  		  DMI_MATCH(DMI_PRODUCT_NAME, "AYANEO 2"),
  		},

drivers/gpu/drm/drm_panel_orientation_quirks.c static const struct dmi_system_id orientation_data[] = { · line 220

Quoted 10 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c +6 -0
  		.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"),
Signature · 1 line
Best, Philip
#7 lore raw

PATCH 4/10 drm: panel-orientation-quirks: Add OneXPlayer X1 variants

In reply to Antheas Kapenekakis

The OneXPlayer X1 series features a 2k 10.95 display with a portrait orientation. Add quirks to set the panel orientation to portrait mode to the Intel, AMD, and EVA-02 variants.

---
 .../gpu/drm/drm_panel_orientation_quirks.c    | 24 +++++++++++++++++++
 1 file changed, 24 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +24 -0
index 0ea06f928f79..378a3f692952 100644
@@ -504,6 +504,30 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONE XPLAYER"),
 		},
 		.driver_data = (void *)&lcd1200x1920_leftside_up,
+	}, {	/* OneXPlayer X1 AMD */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER X1 A"),
+		},
+		.driver_data = (void *)&lcd1600x2560_leftside_up,
+	}, {	/* OneXPlayer X1 Intel */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER X1 i"),
+		},
+		.driver_data = (void *)&lcd1600x2560_leftside_up,
+	}, {	/* OneXPlayer X1 AMD Strix Point */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER X1Pro"),
+		},
+		.driver_data = (void *)&lcd1600x2560_leftside_up,
+	}, {	/* OneXPlayer X1Pro EVA variant with Intel */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER X1Pro EVA-02"),
+		},
+		.driver_data = (void *)&lcd1600x2560_leftside_up,
 	}, {	/* OrangePi Neo */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "OrangePi"),
Signature · 1 line
2.51.0
Reviewed-by on v1 4/10
#8 lore raw

Re: [PATCH v1 04/10] drm: panel-orientation-quirks: Add OneXPlayer X1 variants

Quoted 34 lines · Antheas Kapenekakis

The OneXPlayer X1 series features a 2k 10.95 display with a portrait orientation. Add quirks to set the panel orientation to portrait mode to the Intel, AMD, and EVA-02 variants.

---
  .../gpu/drm/drm_panel_orientation_quirks.c    | 24 +++++++++++++++++++
  1 file changed, 24 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +17 -0
index 0ea06f928f79..378a3f692952 100644
@@ -504,6 +504,30 @@ static const struct dmi_system_id orientation_data[] = {
  		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONE XPLAYER"),
  		},
  		.driver_data = (void *)&lcd1200x1920_leftside_up,
+	}, {	/* OneXPlayer X1 AMD */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER X1 A"),
+		},
+		.driver_data = (void *)&lcd1600x2560_leftside_up,
+	}, {	/* OneXPlayer X1 Intel */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER X1 i"),
+		},
+		.driver_data = (void *)&lcd1600x2560_leftside_up,
+	}, {	/* OneXPlayer X1 AMD Strix Point */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER X1Pro"),
+		},

drivers/gpu/drm/drm_panel_orientation_quirks.c static const struct dmi_system_id orientation_data[] = { · line 533

Quoted 10 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c +7 -0
+		.driver_data = (void *)&lcd1600x2560_leftside_up,
+	}, {	/* OneXPlayer X1Pro EVA variant with Intel */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER X1Pro EVA-02"),
+		},
+		.driver_data = (void *)&lcd1600x2560_leftside_up,
  	}, {	/* OrangePi Neo */
  		.matches = {
  		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "OrangePi"),
Signature · 1 line
Best, Philip
#9 lore raw

PATCH 5/10 drm: panel-orientation-quirks: Add OneXPlayer X1 Mini variants

In reply to Antheas Kapenekakis

The OneXPlayer X1 mini features a 2k 8.8 display with a portrait orientation. The Pro is a CPU refresh. Add quirks to set the panel orientation to portrait mode. There is no Intel variant.

---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +12 -0
index 378a3f692952..0c0fe66e94ad 100644
@@ -516,6 +516,18 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER X1 i"),
 		},
 		.driver_data = (void *)&lcd1600x2560_leftside_up,
+	}, {	/* OneXPlayer X1 mini (AMD) */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER X1 mini"),
+		},
+		.driver_data = (void *)&lcd1600x2560_leftside_up,
+	}, {	/* OneXPlayer X1 mini pro (AMD Strix Point) */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER X1Mini Pro"),
+		},
+		.driver_data = (void *)&lcd1600x2560_leftside_up,
 	}, {	/* OneXPlayer X1 AMD Strix Point */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
Signature · 1 line
2.51.0
Reviewed-by on v1 5/10
#10 lore raw

Re: [PATCH v1 05/10] drm: panel-orientation-quirks: Add OneXPlayer X1 Mini variants

Quoted 22 lines · Antheas Kapenekakis

The OneXPlayer X1 mini features a 2k 8.8 display with a portrait orientation. The Pro is a CPU refresh. Add quirks to set the panel orientation to portrait mode. There is no Intel variant.

---
  drivers/gpu/drm/drm_panel_orientation_quirks.c | 12 ++++++++++++
  1 file changed, 12 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +5 -0
index 378a3f692952..0c0fe66e94ad 100644
@@ -516,6 +516,18 @@ static const struct dmi_system_id orientation_data[] = {
  		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER X1 i"),
  		},
  		.driver_data = (void *)&lcd1600x2560_leftside_up,
+	}, {	/* OneXPlayer X1 mini (AMD) */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER X1 mini"),
+		},

drivers/gpu/drm/drm_panel_orientation_quirks.c static const struct dmi_system_id orientation_data[] = { · line 533

Quoted 10 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c +7 -0
+		.driver_data = (void *)&lcd1600x2560_leftside_up,
+	}, {	/* OneXPlayer X1 mini pro (AMD Strix Point) */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER X1Mini Pro"),
+		},
+		.driver_data = (void *)&lcd1600x2560_leftside_up,
  	}, {	/* OneXPlayer X1 AMD Strix Point */
  		.matches = {
  		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
Signature · 1 line
Best, Philip
#11 lore raw

PATCH 6/10 drm: panel-orientation-quirks: Add OneXPlayer F1 variants

In reply to Antheas Kapenekakis

The OneXPlayer F1Pro has a 144hz 1920x1080 portrait OLED panel. Add a quirk to correct the panel portrait orientation. In addition, it comes with a red limited edition variant in the Chinese market, so add that as well. Then, add the 8840U non-pro variant as well.

---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +18 -0
index 0c0fe66e94ad..6f5ce26a84b7 100644
@@ -540,6 +540,24 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER X1Pro EVA-02"),
 		},
 		.driver_data = (void *)&lcd1600x2560_leftside_up,
+	}, {	/* OneXPlayer OneXFly F1 Pro (OLED) LE Red variant */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER F1 EVA-02"),
+		},
+		.driver_data = (void *)&lcd1080x1920_leftside_up,
+	}, {	/* OneXPlayer OneXFly F1 Pro (OLED) Hawk Point */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER F1 OLED"),
+		},
+		.driver_data = (void *)&lcd1080x1920_leftside_up,
+	}, {	/* OneXPlayer OneXFly F1 Pro (OLED) Strix Point */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER F1Pro"),
+		},
+		.driver_data = (void *)&lcd1080x1920_leftside_up,
 	}, {	/* OrangePi Neo */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "OrangePi"),
Signature · 1 line
2.51.0
Reviewed-by on v1 6/10
#12 lore raw

Re: [PATCH v1 06/10] drm: panel-orientation-quirks: Add OneXPlayer F1 variants

Quoted 29 lines · Antheas Kapenekakis

The OneXPlayer F1Pro has a 144hz 1920x1080 portrait OLED panel. Add a quirk to correct the panel portrait orientation. In addition, it comes with a red limited edition variant in the Chinese market, so add that as well. Then, add the 8840U non-pro variant as well.

---
  drivers/gpu/drm/drm_panel_orientation_quirks.c | 18 ++++++++++++++++++
  1 file changed, 18 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +11 -0
index 0c0fe66e94ad..6f5ce26a84b7 100644
@@ -540,6 +540,24 @@ static const struct dmi_system_id orientation_data[] = {
  		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER X1Pro EVA-02"),
  		},
  		.driver_data = (void *)&lcd1600x2560_leftside_up,
+	}, {	/* OneXPlayer OneXFly F1 Pro (OLED) LE Red variant */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER F1 EVA-02"),
+		},
+		.driver_data = (void *)&lcd1080x1920_leftside_up,
+	}, {	/* OneXPlayer OneXFly F1 Pro (OLED) Hawk Point */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER F1 OLED"),
+		},

drivers/gpu/drm/drm_panel_orientation_quirks.c static const struct dmi_system_id orientation_data[] = { · line 563

Quoted 10 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c +7 -0
+		.driver_data = (void *)&lcd1080x1920_leftside_up,
+	}, {	/* OneXPlayer OneXFly F1 Pro (OLED) Strix Point */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER F1Pro"),
+		},
+		.driver_data = (void *)&lcd1080x1920_leftside_up,
  	}, {	/* OrangePi Neo */
  		.matches = {
  		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "OrangePi"),
Signature · 1 line
Best, Philip
#13 lore raw

PATCH 7/10 drm: panel-orientation-quirks: Add OneXPlayer G1 variants

In reply to Antheas Kapenekakis

Add quirks for the new clamshell device OneXPlayer G1 for both AMD and Intel. The device has a 1600x2560p 144hz LCD panel.

---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +12 -0
index 6f5ce26a84b7..e7a2c5b59d28 100644
@@ -558,6 +558,18 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER F1Pro"),
 		},
 		.driver_data = (void *)&lcd1080x1920_leftside_up,
+	}, {	/* OneXPlayer OneXFly G1 AMD */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER G1 A"),
+		},
+		.driver_data = (void *)&lcd1600x2560_leftside_up,
+	}, {	/* OneXPlayer OneXFly G1 Intel */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER G1 i"),
+		},
+		.driver_data = (void *)&lcd1600x2560_leftside_up,
 	}, {	/* OrangePi Neo */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "OrangePi"),
Signature · 1 line
2.51.0
Reviewed-by on v1 7/10
#14 lore raw

Re: [PATCH v1 07/10] drm: panel-orientation-quirks: Add OneXPlayer G1 variants

Quoted 21 lines · Antheas Kapenekakis

Add quirks for the new clamshell device OneXPlayer G1 for both AMD and Intel. The device has a 1600x2560p 144hz LCD panel.

---
  drivers/gpu/drm/drm_panel_orientation_quirks.c | 12 ++++++++++++
  1 file changed, 12 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +5 -0
index 6f5ce26a84b7..e7a2c5b59d28 100644
@@ -558,6 +558,18 @@ static const struct dmi_system_id orientation_data[] = {
  		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER F1Pro"),
  		},
  		.driver_data = (void *)&lcd1080x1920_leftside_up,
+	}, {	/* OneXPlayer OneXFly G1 AMD */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER G1 A"),
+		},

drivers/gpu/drm/drm_panel_orientation_quirks.c static const struct dmi_system_id orientation_data[] = { · line 575

Quoted 10 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c +7 -0
+		.driver_data = (void *)&lcd1600x2560_leftside_up,
+	}, {	/* OneXPlayer OneXFly G1 Intel */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER G1 i"),
+		},
+		.driver_data = (void *)&lcd1600x2560_leftside_up,
  	}, {	/* OrangePi Neo */
  		.matches = {
  		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "OrangePi"),
Signature · 1 line
Best, Philip
#15 lore raw

PATCH 8/10 drm: panel-orientation-quirks: Add GPD Win Max (2021)

In reply to Antheas Kapenekakis

Right side up, DSI-1, 800x1280 screen.

---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +6 -0
index e7a2c5b59d28..75a8c4532434 100644
@@ -327,6 +327,12 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G1619-01"),
 		},
 		.driver_data = (void *)&lcd800x1280_rightside_up,
+	}, {	/* GPD Win Max (2021) */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "GPD"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G1619-03"),
+		},
+		.driver_data = (void *)&lcd800x1280_rightside_up,
 	}, {	/*
 		 * GPD Pocket, note that the DMI data is less generic then
 		 * it seems, devices with a board-vendor of "AMI Corporation"
Signature · 1 line
2.51.0
Reviewed-by on v1 8/10
#16 lore raw

Re: [PATCH v1 08/10] drm: panel-orientation-quirks: Add GPD Win Max (2021)

Quoted 14 lines · Antheas Kapenekakis

Right side up, DSI-1, 800x1280 screen.

---
  drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++
  1 file changed, 6 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +0 -0
index e7a2c5b59d28..75a8c4532434 100644
@@ -327,6 +327,12 @@ static const struct dmi_system_id orientation_data[] = {
  		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G1619-01"),
  		},

drivers/gpu/drm/drm_panel_orientation_quirks.c static const struct dmi_system_id orientation_data[] = { · line 338

Quoted 10 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c +6 -0
  		.driver_data = (void *)&lcd800x1280_rightside_up,
+	}, {	/* GPD Win Max (2021) */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "GPD"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G1619-03"),
+		},
+		.driver_data = (void *)&lcd800x1280_rightside_up,
  	}, {	/*
  		 * GPD Pocket, note that the DMI data is less generic then
  		 * it seems, devices with a board-vendor of "AMI Corporation"
Signature · 1 line
Best, Philip
#17 lore raw

PATCH 9/10 drm: panel-orientation-quirks: Add GPD Pocket 4

In reply to Antheas Kapenekakis

The GPD Pocket 4 is a mini laptop replacement with a portrait 2k panel. Add a quirk for it.

---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +6 -0
index 75a8c4532434..5f896d6e4090 100644
@@ -388,6 +388,12 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G1617-01")
 		},
 		.driver_data = (void *)&lcd1080x1920_rightside_up,
+	}, {	/* GPD Pocket 4 */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "GPD"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G1628-04"),
+		},
+		.driver_data = (void *)&lcd1600x2560_rightside_up,
 	}, {	/* I.T.Works TW891 */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "To be filled by O.E.M."),
Signature · 1 line
2.51.0
Reviewed-by on v1 9/10
#18 lore raw

Re: [PATCH v1 09/10] drm: panel-orientation-quirks: Add GPD Pocket 4

Quoted 15 lines · Antheas Kapenekakis

The GPD Pocket 4 is a mini laptop replacement with a portrait 2k panel. Add a quirk for it.

---
  drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++
  1 file changed, 6 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +0 -0
index 75a8c4532434..5f896d6e4090 100644
@@ -388,6 +388,12 @@ static const struct dmi_system_id orientation_data[] = {
  		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G1617-01")
  		},

drivers/gpu/drm/drm_panel_orientation_quirks.c static const struct dmi_system_id orientation_data[] = { · line 399

Quoted 10 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c +6 -0
  		.driver_data = (void *)&lcd1080x1920_rightside_up,
+	}, {	/* GPD Pocket 4 */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "GPD"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G1628-04"),
+		},
+		.driver_data = (void *)&lcd1600x2560_rightside_up,
  	}, {	/* I.T.Works TW891 */
  		.matches = {
  		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "To be filled by O.E.M."),
Signature · 1 line
Best, Philip
#19 lore raw

PATCH 10/10 drm: panel-orientation-quirks: Add Zeenix Lite and Pro

In reply to Antheas Kapenekakis

Add quirks for two Zeenix handhelds, the Lite and the Pro. They are identical to the Ayn Loki and the Ayn Loki Pro respectively.

---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +12 -0
index 5f896d6e4090..201e5349f3ac 100644
@@ -594,6 +594,18 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Galaxy Book 10.6"),
 		},
 		.driver_data = (void *)&lcd1280x1920_rightside_up,
+	}, {    /* Tectoy Zeenix Lite */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Tectoy"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Zeenix Lite"),
+		},
+		.driver_data = (void *)&lcd1080x1920_leftside_up,
+	}, {    /* Tectoy Zeenix Pro */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Tectoy"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Zeenix Pro"),
+		},
+		.driver_data = (void *)&lcd1080x1920_leftside_up,
 	}, {	/* Valve Steam Deck (Jupiter) */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Valve"),
Signature · 1 line
2.51.0
Reviewed-by on v1 10/10
#20 lore raw

Re: [PATCH v1 10/10] drm: panel-orientation-quirks: Add Zeenix Lite and Pro

Quoted 21 lines · Antheas Kapenekakis

Add quirks for two Zeenix handhelds, the Lite and the Pro. They are identical to the Ayn Loki and the Ayn Loki Pro respectively.

---
  drivers/gpu/drm/drm_panel_orientation_quirks.c | 12 ++++++++++++
  1 file changed, 12 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +5 -0
index 5f896d6e4090..201e5349f3ac 100644
@@ -594,6 +594,18 @@ static const struct dmi_system_id orientation_data[] = {
  		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Galaxy Book 10.6"),
  		},
  		.driver_data = (void *)&lcd1280x1920_rightside_up,
+	}, {    /* Tectoy Zeenix Lite */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Tectoy"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Zeenix Lite"),
+		},

drivers/gpu/drm/drm_panel_orientation_quirks.c static const struct dmi_system_id orientation_data[] = { · line 611

Quoted 10 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c +7 -0
+		.driver_data = (void *)&lcd1080x1920_leftside_up,
+	}, {    /* Tectoy Zeenix Pro */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Tectoy"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Zeenix Pro"),
+		},
+		.driver_data = (void *)&lcd1080x1920_leftside_up,
  	}, {	/* Valve Steam Deck (Jupiter) */
  		.matches = {
  		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Valve"),
Signature · 1 line
Best, Philip
#21 lore raw
In reply to Antheas Kapenekakis
Quoted 17 lines · Antheas Kapenekakis

Adds a bunch of handheld orientation quirks that collected in the Bazzite kernel. I made sure they are alphabetically sorted. In addition, to keep the series short, I grouped variants of the same device together.

Antheas Kapenekakis (10):
drm: panel-orientation-quirks: Add AOKZOE A1 Pro
drm: panel-orientation-quirks: add additional ID for Ayaneo 2021
drm: panel-orientation-quirks: Add Ayaneo 3
drm: panel-orientation-quirks: Add OneXPlayer X1 variants
drm: panel-orientation-quirks: Add OneXPlayer X1 Mini variants
drm: panel-orientation-quirks: Add OneXPlayer F1 variants
drm: panel-orientation-quirks: Add OneXPlayer G1 variants
drm: panel-orientation-quirks: Add GPD Win Max (2021)
drm: panel-orientation-quirks: Add GPD Pocket 4
drm: panel-orientation-quirks: Add Zeenix Lite and Pro

Quoted 2 lines
 .../gpu/drm/drm_panel_orientation_quirks.c    | 108 ++++++++++++++++++
 1 file changed, 108 insertions(+)

Can I get a bump on this? New ones just keep coming out we need to start merging them sometime

Antheas

Quoted 6 lines

base-commit: 1b237f190eb3d36f52dffe07a40b5eb210280e00 --
2.51.0