drm: panel-orientation-quirks: Add various handheld quirks
Subsystems (2)
v2 cover drm: panel-orientation-quirks: Add various handheld quirks
Same as V1 with an additional four quirks. Also fixed indents on A1 Pro. Contains various handhelds. If we can merge this great.
On top of torvalds/master.
---
V1: https://lore.kernel.org/lkml/[email protected]/
Antheas Kapenekakis (14):
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
drm: panel-orientation-quirks: add SuiPlay0X1
drm: panel-orientation-quirks: Add OneXPlayer X1z
drm: panel-orientation-quirks: Add AOKZOE A2 Pro
drm: panel-orientation-quirks: Add OneXPlayer X1 Air
.../gpu/drm/drm_panel_orientation_quirks.c | 132 ++++++++++++++++++ 1 file changed, 132 insertions(+)
base-commit: 0f2acd3148e0ef42bdacbd477f90e8533f96b2ac
Signature · 1 line
2.52.0
PATCH v2 1/14 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
@@ -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.52.0
PATCH v2 8/14 drm: panel-orientation-quirks: Add GPD Win Max (2021)
In reply to Antheas KapenekakisRight 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
@@ -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.52.0
PATCH v2 2/14 drm: panel-orientation-quirks: Add additional ID for Ayaneo 2021
In reply to Antheas KapenekakisThe 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
@@ -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.52.0
PATCH v2 9/14 drm: panel-orientation-quirks: Add GPD Pocket 4
In reply to Antheas KapenekakisThe 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
@@ -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.52.0
PATCH v2 10/14 drm: panel-orientation-quirks: Add Zeenix Lite and Pro
In reply to Antheas KapenekakisAdd 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
@@ -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.52.0
PATCH v2 5/14 drm: panel-orientation-quirks: Add OneXPlayer X1 Mini variants
In reply to Antheas KapenekakisThe 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
@@ -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.52.0
PATCH v2 11/14 drm: panel-orientation-quirks: add SuiPlay0X1
In reply to Antheas KapenekakisVery similar to the AYANEO 2S, the Mysten SuiPlay0X1 is a handheld gaming device with a 1200x1920 display that is mounted in a right-side-up orientation. 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
@@ -491,6 +491,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_MATCH(DMI_PRODUCT_VERSION, "Blade3-10A-001"), }, .driver_data = (void *)&lcd1600x2560_rightside_up, + }, { /* Mysten SuiPlay0X1 */ + .matches = { +DMI_EXACT_MATCH (DMI_SYS_VENDOR ,"Mysten Labs, Inc." ), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "SuiPlay0X1"), + }, + .driver_data = (void *)&lcd1200x1920_rightside_up, }, { /* Nanote UMPC-01 */ .matches = { DMI_MATCH(DMI_SYS_VENDOR, "RWC CO.,LTD"),
Signature · 1 line
2.52.0
PATCH v2 14/14 drm: panel-orientation-quirks: Add OneXPlayer X1 Air
In reply to Antheas KapenekakisSpecial edition of the X1 with a new Intel chipset.
--- drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +6 -0
@@ -546,6 +546,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER X1 mini"), }, .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 X1Air"), + }, + .driver_data = (void *)&lcd1600x2560_leftside_up, }, { /* OneXPlayer X1 mini pro (AMD Strix Point) */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
Signature · 1 line
2.52.0
PATCH v2 13/14 drm: panel-orientation-quirks: Add AOKZOE A2 Pro
In reply to Antheas KapenekakisWe are missing a quirk for this older device, so add 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
@@ -185,6 +185,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AOKZOE A1 Pro"), }, .driver_data = (void *)&lcd1200x1920_leftside_up, + }, { /* AOKZOE A2 Pro */ + .matches = { +DMI_EXACT_MATCH (DMI_SYS_VENDOR ,"AOKZOE" ), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AOKZOE A2 Pro"), + }, + .driver_data = (void *)&lcd1200x1920_leftside_up, }, { /* Asus T100HA */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
Signature · 1 line
2.52.0
PATCH v2 4/14 drm: panel-orientation-quirks: Add OneXPlayer X1 variants
In reply to Antheas KapenekakisThe 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
@@ -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.52.0
PATCH v2 12/14 drm: panel-orientation-quirks: Add OneXPlayer X1z
In reply to Antheas KapenekakisDifferent variant of the OneXPlayer X1 AMD edition with an 8840U.
--- drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +6 -0
@@ -546,6 +546,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER X1Mini Pro"), }, .driver_data = (void *)&lcd1600x2560_leftside_up, + }, { /* OneXPlayer X1 AMD second variant */ + .matches = { +DMI_EXACT_MATCH (DMI_SYS_VENDOR ,"ONE-NETBOOK" ), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONEXPLAYER X1z"), + }, + .driver_data = (void *)&lcd1600x2560_leftside_up, }, { /* OneXPlayer X1 AMD Strix Point */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK"),
Signature · 1 line
2.52.0
PATCH v2 3/14 drm: panel-orientation-quirks: Add Ayaneo 3
In reply to Antheas KapenekakisThe 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
@@ -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.52.0
PATCH v2 6/14 drm: panel-orientation-quirks: Add OneXPlayer F1 variants
In reply to Antheas KapenekakisThe 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
@@ -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.52.0
PATCH v2 7/14 drm: panel-orientation-quirks: Add OneXPlayer G1 variants
In reply to Antheas KapenekakisAdd 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
@@ -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.52.0
Hm,drm_panel_orientation_quirks might need to have its maintainers entry updated
@Hans/Dmitry: you handled the last merge in this file last march. Can you advise?
Thanks,
Antheas
Quoted 8 lines · Antheas Kapenekakis
Same as V1 with an additional four quirks. Also fixed indents on A1 Pro. Contains various handhelds. If we can merge this great.
<snip>
2.52.0
Hi all,
I’m writing to express support for this patch series and to ask whether it can be queued for merging. The handheld panel-orientation quirks here match the behavior I’ve tested on my devices.
From my testing, the changes behave as expected, and I haven’t seen any regressions.
If there are remaining concerns blocking merge, I’d be grateful for a quick summary so I can help address them.
Best regards,
LF