Skip to contentSkip to conversation

drm: panel-orientation-quirks: Add 2024 OneXPlayer line & ZOTAC Zone orientation quirks

PATCH In review Antheas Kapenekakis 3 participants 15 messages Feb 22, 2025 – Mar 17, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover drm: panel-orientation-quirks: Add 2024 OneXPlayer line & ZOTAC Zone orientation quirks

A number of OneXPlayer handhelds have come out with portrait panels. Specifically, those are the X1 AMD and Intel variants, X1 Mini, and F1 Pro. For X1 specifically, they also have spurious battery reporting within their digitizer. The Zotac Gaming Zone also has a portrait OLED panel, so add that as well.

Antheas Kapenekakis (5):
drm: panel-orientation-quirks: Add OneXPlayer X1 AMD and Intel quirk
drm: panel-orientation-quirks: Add OneXPlayer X1 Mini (AMD) quirk
drm: panel-orientation-quirks: Add OneXPlayer F1Pro quirk
HID: Add quirk to ignore the touchscreen battery on OneXPlayer X1
drm: panel-orientation-quirks: Add Zotac Gaming Zone quirk

 .../gpu/drm/drm_panel_orientation_quirks.c    | 42 +++++++++++++++++++
 drivers/hid/hid-ids.h                         |  1 +
 drivers/hid/hid-input.c                       |  2 +
 3 files changed, 45 insertions(+)
Signature · 1 line
2.48.1
#1 lore raw

PATCH 1/5 drm: panel-orientation-quirks: Add OneXPlayer X1 AMD and Intel quirk

The OneXPlayer X1 series features a 2k 10.95 display with a portrait orientation. Add a quirk to set the panel orientation to portrait mode to both the Intel and AMD variants.

---
 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 4a73821b81f6..17b4f57d64d7 100644
@@ -443,6 +443,24 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONE XPLAYER"),
 		},
 		.driver_data = (void *)&lcd1600x2560_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 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 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,
 	}, {	/* OrangePi Neo */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "OrangePi"),
Signature · 1 line
2.48.1
Reviewed-by on v1 1/5
#2 lore raw

Re: [PATCH 1/5] drm: panel-orientation-quirks: Add OneXPlayer X1 AMD and Intel quirk

Hi,

Quoted 5 lines · Antheas Kapenekakis

The OneXPlayer X1 series features a 2k 10.95 display with a portrait orientation. Add a quirk to set the panel orientation to portrait mode to both the Intel and AMD variants.

Thanks, patch looks good to me:

Regards,

Hans

Quoted 33 lines
---
 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 4a73821b81f6..17b4f57d64d7 100644
@@ -443,6 +443,24 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONE XPLAYER"),
 		},
 		.driver_data = (void *)&lcd1600x2560_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 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 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,
 	}, {	/* OrangePi Neo */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "OrangePi"),
#3 lore raw

PATCH 2/5 drm: panel-orientation-quirks: Add OneXPlayer X1 Mini (AMD) quirk

In reply to Antheas Kapenekakis

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

---
 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 17b4f57d64d7..1378690b7287 100644
@@ -461,6 +461,12 @@ 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,
 	}, {	/* OrangePi Neo */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "OrangePi"),
Signature · 1 line
2.48.1
Reviewed-by on v1 2/5
#4 lore raw

Re: [PATCH 2/5] drm: panel-orientation-quirks: Add OneXPlayer X1 Mini (AMD) quirk

Hi,

Quoted 5 lines · Antheas Kapenekakis

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

Thanks, patch looks good to me:

Regards,

Hans

Quoted 21 lines
---
 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 17b4f57d64d7..1378690b7287 100644
@@ -461,6 +461,12 @@ 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,
 	}, {	/* OrangePi Neo */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "OrangePi"),
#5 lore raw

PATCH 3/5 drm: panel-orientation-quirks: Add OneXPlayer F1Pro quirk

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.

---
 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 1378690b7287..f08cdc81dd9a 100644
@@ -467,6 +467,18 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER X1 mini"),
 		},
 		.driver_data = (void *)&lcd1600x2560_leftside_up,
+	}, {	/* OneXPlayer OneXFly F1 Pro (OLED) */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER F1Pro"),
+		},
+		.driver_data = (void *)&lcd1080x1920_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,
 	}, {	/* OrangePi Neo */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "OrangePi"),
Signature · 1 line
2.48.1
Reviewed-by on v1 3/5
#6 lore raw

Re: [PATCH 3/5] drm: panel-orientation-quirks: Add OneXPlayer F1Pro quirk

Hi,

Quoted 6 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.

Thanks, patch looks good to me:

drm-misc maintainers, I'm dealing with a huge backlog of patch-review, bugs and other work.

So I would appreciate it if one of you can merge patches 1-3 into drm-misc.

Regards,

Hans

Quoted 27 lines
---
 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 1378690b7287..f08cdc81dd9a 100644
@@ -467,6 +467,18 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER X1 mini"),
 		},
 		.driver_data = (void *)&lcd1600x2560_leftside_up,
+	}, {	/* OneXPlayer OneXFly F1 Pro (OLED) */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER F1Pro"),
+		},
+		.driver_data = (void *)&lcd1080x1920_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,
 	}, {	/* OrangePi Neo */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "OrangePi"),
#7 lore raw

Re: [PATCH 3/5] drm: panel-orientation-quirks: Add OneXPlayer F1Pro quirk

Quoted 44 lines · Hans de Goede

Hi,

Quoted 6 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.

Thanks, patch looks good to me:

drm-misc maintainers, I'm dealing with a huge backlog of patch-review, bugs and other work.

So I would appreciate it if one of you can merge patches 1-3 into drm-misc.

Regards,

Hans

Quoted 19 lines
---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +7 -0
index 1378690b7287..f08cdc81dd9a 100644
@@ -467,6 +467,18 @@ static const struct dmi_system_id orientation_data[] = {
                DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER X1 mini"),
              },
              .driver_data = (void *)&lcd1600x2560_leftside_up,
+     }, {    /* OneXPlayer OneXFly F1 Pro (OLED) */
+             .matches = {
+               DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
+               DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER F1Pro"),
+             },
+             .driver_data = (void *)&lcd1080x1920_leftside_up,
+     }, {    /* OneXPlayer OneXFly F1 Pro (OLED) LE Red variant */
Quoted 9 lines

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

Quoted 8 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c +5 -0
+             .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,
      }, {    /* OrangePi Neo */
              .matches = {
                DMI_EXACT_MATCH(DMI_SYS_VENDOR, "OrangePi"),

Hi Hans,
patch 5 is also a panel quirk. Can you review that real quick as well so it is not dangling?

Thanks,
Antheas

#8 lore raw

PATCH 4/5 HID: Add quirk to ignore the touchscreen battery on OneXPlayer X1

In reply to Antheas Kapenekakis

The X1 devices come with a pen-capable touchscreen, in which the HID descriptor reports there is always a battery at 100% charge. Quirk it to not report the battery status.

---
 drivers/hid/hid-ids.h   | 1 +
 drivers/hid/hid-input.c | 2 ++
 2 files changed, 3 insertions(+)
drivers/hid/hid-ids.h +1 -0
index 7e400624908e..8e2fc152b089 100644
@@ -1001,6 +1001,7 @@
 #define USB_VENDOR_ID_NOVATEK		0x0603
 #define USB_DEVICE_ID_NOVATEK_PCT	0x0600
 #define USB_DEVICE_ID_NOVATEK_MOUSE	0x1602
+#define I2C_DEVICE_ID_ONEXPLAYER_X1    0xF001
 
 #define USB_VENDOR_ID_NTI               0x0757
 #define USB_DEVICE_ID_USB_SUN           0x0a00
drivers/hid/hid-input.c +2 -0
index 9d80635a91eb..08e87577feef 100644
@@ -390,6 +390,8 @@ static const struct hid_device_id hid_battery_quirks[] = {
 	 * set HID_BATTERY_QUIRK_IGNORE for all Elan I2C-HID devices.
 	 */
 	{ HID_I2C_DEVICE(USB_VENDOR_ID_ELAN, HID_ANY_ID), HID_BATTERY_QUIRK_IGNORE },
+	{ HID_I2C_DEVICE(USB_VENDOR_ID_NOVATEK, I2C_DEVICE_ID_ONEXPLAYER_X1),
+	  HID_BATTERY_QUIRK_IGNORE },
 	{}
 };
 
Signature · 1 line
2.48.1
maintainer Acked-by on v1 4/5
#9 lore raw

Re: [PATCH 4/5] HID: Add quirk to ignore the touchscreen battery on OneXPlayer X1

Quoted 5 lines · Antheas Kapenekakis

The X1 devices come with a pen-capable touchscreen, in which the HID descriptor reports there is always a battery at 100% charge. Quirk it to not report the battery status.

Let me provide

so that this patch can be merged by the drm folks together with the rest of the enablement series.

Thanks,

Signature · 2 lines
Jiri Kosina
SUSE Labs
#10 lore raw

PATCH 5/5 drm: panel-orientation-quirks: Add Zotac Gaming Zone quirk

In reply to Antheas Kapenekakis

The Zotac Gaming Zone handheld features a 1080p portrait OLED screen. Add the rotation to the panel orientation quirks.

---
 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 f08cdc81dd9a..bbbe707f541d 100644
@@ -479,6 +479,12 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER F1 EVA-02"),
 		},
 		.driver_data = (void *)&lcd1080x1920_leftside_up,
+	}, {	/* Zotac Gaming Zone (OLED) */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ZOTAC"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ZOTAC GAMING ZONE"),
+		},
+		.driver_data = (void *)&lcd1080x1920_leftside_up,
 	}, {	/* OrangePi Neo */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "OrangePi"),
Signature · 1 line
2.48.1
#11 lore raw

Re: [PATCH 5/5] drm: panel-orientation-quirks: Add Zotac Gaming Zone quirk

Hi,

Quoted 13 lines · Antheas Kapenekakis

The Zotac Gaming Zone handheld features a 1080p portrait OLED screen. Add the rotation to the panel orientation quirks.

---
 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 f08cdc81dd9a..bbbe707f541d 100644

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

Quoted 10 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c +6 -0
@@ -479,6 +479,12 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER F1 EVA-02"),
 		},
 		.driver_data = (void *)&lcd1080x1920_leftside_up,
+	}, {	/* Zotac Gaming Zone (OLED) */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ZOTAC"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ZOTAC GAMING ZONE"),
+		},
+		.driver_data = (void *)&lcd1080x1920_leftside_up,
 	}, {	/* OrangePi Neo */

The entries in this list are alphabetically sorted. Please post a v2 (of just this patch) with this entry moved to the end, just above the special "One Mix 2S" entry which is at the very end because its DMI matches are all "Default string".

Note another entry for another Zotac device, with a board name of "G0A1W" has been added in drm-misc/next, so please base your v2 on top of drm-misc/next.

Also the freedesktop.org infra is currently being migrated to another data center, so the drm-misc tree currently is not available I think.

Regards,

Hans

Quoted 2 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c +0 -0
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "OrangePi"),
#12 lore raw

Re: [PATCH 5/5] drm: panel-orientation-quirks: Add Zotac Gaming Zone quirk

Quoted 37 lines · Hans de Goede

Hi,

Quoted 13 lines · Antheas Kapenekakis

The Zotac Gaming Zone handheld features a 1080p portrait OLED screen. Add the rotation to the panel orientation quirks.

---
 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 f08cdc81dd9a..bbbe707f541d 100644

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

Quoted 10 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c +6 -0
@@ -479,6 +479,12 @@ static const struct dmi_system_id orientation_data[] = {
                DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER F1 EVA-02"),
              },
              .driver_data = (void *)&lcd1080x1920_leftside_up,
+     }, {    /* Zotac Gaming Zone (OLED) */
+             .matches = {
+               DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ZOTAC"),
+               DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ZOTAC GAMING ZONE"),
+             },
+             .driver_data = (void *)&lcd1080x1920_leftside_up,
      }, {    /* OrangePi Neo */

The entries in this list are alphabetically sorted. Please post a v2 (of just this patch) with this entry moved to the end, just above the special "One Mix 2S" entry which is at the very end because its DMI matches are all "Default string".

Note another entry for another Zotac device, with a board name of "G0A1W" has been added in drm-misc/next, so please base your v2 on top of drm-misc/next.

Quoted 14 lines

Also the freedesktop.org infra is currently being migrated to another data center, so the drm-misc tree currently is not available I think.

Regards,

Hans

Quoted 2 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c +0 -0
              .matches = {
                DMI_EXACT_MATCH(DMI_SYS_VENDOR, "OrangePi"),

Ok thanks. I will do that in a few days. Patches 1-4 hopefully should be good to merge.

Antheas

#13 lore raw

Re: [PATCH 5/5] drm: panel-orientation-quirks: Add Zotac Gaming Zone quirk

Quoted 50 lines · Antheas Kapenekakis
Quoted 48 lines · Hans de Goede

Hi,

Quoted 13 lines · Antheas Kapenekakis

The Zotac Gaming Zone handheld features a 1080p portrait OLED screen. Add the rotation to the panel orientation quirks.

---
 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 f08cdc81dd9a..bbbe707f541d 100644

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

Quoted 10 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c +6 -0
@@ -479,6 +479,12 @@ static const struct dmi_system_id orientation_data[] = {
                DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER F1 EVA-02"),
              },
              .driver_data = (void *)&lcd1080x1920_leftside_up,
+     }, {    /* Zotac Gaming Zone (OLED) */
+             .matches = {
+               DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ZOTAC"),
+               DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ZOTAC GAMING ZONE"),
+             },
+             .driver_data = (void *)&lcd1080x1920_leftside_up,
      }, {    /* OrangePi Neo */

The entries in this list are alphabetically sorted. Please post a v2 (of just this patch) with this entry moved to the end, just above the special "One Mix 2S" entry which is at the very end because its DMI matches are all "Default string".

Note another entry for another Zotac device, with a board name of "G0A1W" has been added in drm-misc/next, so please base your v2 on top of drm-misc/next.

Also the freedesktop.org infra is currently being migrated to another data center, so the drm-misc tree currently is not available I think.

Regards,

Hans

Quoted 8 lines
Quoted 3 lines

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

Quoted 2 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c +0 -0
              .matches = {
                DMI_EXACT_MATCH(DMI_SYS_VENDOR, "OrangePi"),

Ok thanks. I will do that in a few days. Patches 1-4 hopefully should be good to merge.

Antheas

Actually nevermind, this is the Zotac Zone so it is a dupe. It is fine to drop this patch from the series and merge the rest.

Antheas

#14 lore raw
In reply to Antheas Kapenekakis
Quoted 14 lines · Antheas Kapenekakis

A number of OneXPlayer handhelds have come out with portrait panels. Specifically, those are the X1 AMD and Intel variants, X1 Mini, and F1 Pro. For X1 specifically, they also have spurious battery reporting within their digitizer. The Zotac Gaming Zone also has a portrait OLED panel, so add that as well.

Antheas Kapenekakis (5):
drm: panel-orientation-quirks: Add OneXPlayer X1 AMD and Intel quirk
drm: panel-orientation-quirks: Add OneXPlayer X1 Mini (AMD) quirk
drm: panel-orientation-quirks: Add OneXPlayer F1Pro quirk
HID: Add quirk to ignore the touchscreen battery on OneXPlayer X1
drm: panel-orientation-quirks: Add Zotac Gaming Zone quirk

Quoted 8 lines
 .../gpu/drm/drm_panel_orientation_quirks.c    | 42 +++++++++++++++++++
 drivers/hid/hid-ids.h                         |  1 +
 drivers/hid/hid-input.c                       |  2 +
 3 files changed, 45 insertions(+)

--
2.48.1

I'd like to push this along. We already have the ack for HID. Did I miss anyone on the list? Full context [1]

+cc Hans

[1] https://lore.kernel.org/all/[email protected]/