|
|
@@ -42,6 +42,14 @@ static const struct drm_dmi_panel_orientation_data asus_t100ha = {
|
|
|
.orientation = DRM_MODE_PANEL_ORIENTATION_LEFT_UP,
|
|
|
};
|
|
|
|
|
|
+static const struct drm_dmi_panel_orientation_data gpd_micropc = {
|
|
|
+ .width = 720,
|
|
|
+ .height = 1280,
|
|
|
+ .bios_dates = (const char * const []){ "04/26/2019",
|
|
|
+ NULL },
|
|
|
+ .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP,
|
|
|
+};
|
|
|
+
|
|
|
static const struct drm_dmi_panel_orientation_data gpd_pocket = {
|
|
|
.width = 1200,
|
|
|
.height = 1920,
|
|
|
@@ -93,6 +101,14 @@ static const struct dmi_system_id orientation_data[] = {
|
|
|
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "T100HAN"),
|
|
|
},
|
|
|
.driver_data = (void *)&asus_t100ha,
|
|
|
+ }, { /* GPD MicroPC (generic strings, also match on bios date) */
|
|
|
+ .matches = {
|
|
|
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Default string"),
|
|
|
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Default string"),
|
|
|
+ DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "Default string"),
|
|
|
+ DMI_EXACT_MATCH(DMI_BOARD_NAME, "Default string"),
|
|
|
+ },
|
|
|
+ .driver_data = (void *)&gpd_micropc,
|
|
|
}, { /*
|
|
|
* GPD Pocket, note that the the DMI data is less generic then
|
|
|
* it seems, devices with a board-vendor of "AMI Corporation"
|