The Acer One S1003 2-in-1 also comes in a variant with a 1200x1920 FHD
screen instead of the 800x1280 screen.

The FHD screen also is a portrait screen used in a landscape clamshell
2-in-1, add a second Acer One S1003 quirk matching the FHD screen.

Signed-off-by: Hans de Goede <[email protected]>
---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c 
b/drivers/gpu/drm/drm_panel_orientation_quirks.c
index 3a218fb592ce..68b4eb7ab9f9 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -161,12 +161,18 @@ static const struct drm_dmi_panel_orientation_data 
lcd1600x2560_rightside_up = {
 };
 
 static const struct dmi_system_id orientation_data[] = {
-       {       /* Acer One 10 (S1003) */
+       {       /* Acer One 10 (S1003) (HD) */
                .matches = {
                  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Acer"),
                  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "One S1003"),
                },
                .driver_data = (void *)&lcd800x1280_rightside_up,
+       }, {    /* Acer One 10 (S1003) (FHD) */
+               .matches = {
+                 DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Acer"),
+                 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "One S1003"),
+               },
+               .driver_data = (void *)&lcd1200x1920_rightside_up,
        }, {    /* Acer Switch V 10 (SW5-017) */
                .matches = {
                  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Acer"),
-- 
2.55.0

Reply via email to