diff options
-rw-r--r-- | drivers/gpu/drm/drm_panel_orientation_quirks.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c index fe9c6c731e87..ee4a5e1221f1 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c | |||
@@ -30,6 +30,12 @@ struct drm_dmi_panel_orientation_data { | |||
30 | int orientation; | 30 | int orientation; |
31 | }; | 31 | }; |
32 | 32 | ||
33 | static const struct drm_dmi_panel_orientation_data acer_s1003 = { | ||
34 | .width = 800, | ||
35 | .height = 1280, | ||
36 | .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP, | ||
37 | }; | ||
38 | |||
33 | static const struct drm_dmi_panel_orientation_data asus_t100ha = { | 39 | static const struct drm_dmi_panel_orientation_data asus_t100ha = { |
34 | .width = 800, | 40 | .width = 800, |
35 | .height = 1280, | 41 | .height = 1280, |
@@ -67,7 +73,13 @@ static const struct drm_dmi_panel_orientation_data lcd800x1280_rightside_up = { | |||
67 | }; | 73 | }; |
68 | 74 | ||
69 | static const struct dmi_system_id orientation_data[] = { | 75 | static const struct dmi_system_id orientation_data[] = { |
70 | { /* Asus T100HA */ | 76 | { /* Acer One 10 (S1003) */ |
77 | .matches = { | ||
78 | DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Acer"), | ||
79 | DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "One S1003"), | ||
80 | }, | ||
81 | .driver_data = (void *)&acer_s1003, | ||
82 | }, { /* Asus T100HA */ | ||
71 | .matches = { | 83 | .matches = { |
72 | DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), | 84 | DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), |
73 | DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "T100HAN"), | 85 | DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "T100HAN"), |