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

Reviewed-by: Philip Müller <[email protected]>
Signed-off-by: Antheas Kapenekakis <[email protected]>
---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c 
b/drivers/gpu/drm/drm_panel_orientation_quirks.c
index af45d79622b5..675a0aeb750e 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -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"),
-- 
2.52.0


Reply via email to