File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,14 @@ static const struct drm_dmi_panel_orientation_data gpd_micropc = {
38
38
.orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP ,
39
39
};
40
40
41
+ static const struct drm_dmi_panel_orientation_data gpd_onemix2s = {
42
+ .width = 1200 ,
43
+ .height = 1920 ,
44
+ .bios_dates = (const char * const []){ "05/21/2018" , "10/26/2018" ,
45
+ "03/04/2019" , NULL },
46
+ .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP ,
47
+ };
48
+
41
49
static const struct drm_dmi_panel_orientation_data gpd_pocket = {
42
50
.width = 1200 ,
43
51
.height = 1920 ,
@@ -401,6 +409,14 @@ static const struct dmi_system_id orientation_data[] = {
401
409
DMI_EXACT_MATCH (DMI_PRODUCT_NAME , "LTH17" ),
402
410
},
403
411
.driver_data = (void * )& lcd800x1280_rightside_up ,
412
+ }, { /* One Mix 2S (generic strings, also match on bios date) */
413
+ .matches = {
414
+ DMI_EXACT_MATCH (DMI_SYS_VENDOR , "Default string" ),
415
+ DMI_EXACT_MATCH (DMI_PRODUCT_NAME , "Default string" ),
416
+ DMI_EXACT_MATCH (DMI_BOARD_VENDOR , "Default string" ),
417
+ DMI_EXACT_MATCH (DMI_BOARD_NAME , "Default string" ),
418
+ },
419
+ .driver_data = (void * )& gpd_onemix2s ,
404
420
},
405
421
{}
406
422
};
You can’t perform that action at this time.
0 commit comments