|
@@ -60,6 +60,12 @@ static const struct drm_dmi_panel_orientation_data itworks_tw891 = {
|
|
.orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
|
|
.orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+static const struct drm_dmi_panel_orientation_data lenovo_ideapad_miix_310 = {
|
|
|
|
+ .width = 800,
|
|
|
|
+ .height = 1280,
|
|
|
|
+ .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
|
|
|
|
+};
|
|
|
|
+
|
|
static const struct drm_dmi_panel_orientation_data vios_lth17 = {
|
|
static const struct drm_dmi_panel_orientation_data vios_lth17 = {
|
|
.width = 800,
|
|
.width = 800,
|
|
.height = 1280,
|
|
.height = 1280,
|
|
@@ -102,6 +108,17 @@ static const struct dmi_system_id orientation_data[] = {
|
|
DMI_EXACT_MATCH(DMI_BOARD_NAME, "TW891"),
|
|
DMI_EXACT_MATCH(DMI_BOARD_NAME, "TW891"),
|
|
},
|
|
},
|
|
.driver_data = (void *)&itworks_tw891,
|
|
.driver_data = (void *)&itworks_tw891,
|
|
|
|
+ }, { /*
|
|
|
|
+ * Lenovo Ideapad Miix 310 laptop, only some production batches
|
|
|
|
+ * have a portrait screen, the resolution checks makes the quirk
|
|
|
|
+ * apply only to those batches.
|
|
|
|
+ */
|
|
|
|
+ .matches = {
|
|
|
|
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),
|
|
|
|
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "80SG"),
|
|
|
|
+ DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "MIIX 310-10ICR"),
|
|
|
|
+ },
|
|
|
|
+ .driver_data = (void *)&lenovo_ideapad_miix_310,
|
|
}, { /* VIOS LTH17 */
|
|
}, { /* VIOS LTH17 */
|
|
.matches = {
|
|
.matches = {
|
|
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "VIOS"),
|
|
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "VIOS"),
|