@@ -1027,27 +1027,28 @@ static const struct panel_desc auo_g070vvn01 = {
1027
1027
},
1028
1028
};
1029
1029
1030
- static const struct drm_display_mode auo_g101evn010_mode = {
1031
- .clock = 68930 ,
1032
- .hdisplay = 1280 ,
1033
- .hsync_start = 1280 + 82 ,
1034
- .hsync_end = 1280 + 82 + 2 ,
1035
- .htotal = 1280 + 82 + 2 + 84 ,
1036
- .vdisplay = 800 ,
1037
- .vsync_start = 800 + 8 ,
1038
- .vsync_end = 800 + 8 + 2 ,
1039
- .vtotal = 800 + 8 + 2 + 6 ,
1030
+ static const struct display_timing auo_g101evn010_timing = {
1031
+ .pixelclock = { 64000000 , 68930000 , 85000000 } ,
1032
+ .hactive = { 1280 , 1280 , 1280 } ,
1033
+ .hfront_porch = { 8 , 64 , 256 } ,
1034
+ .hback_porch = { 8 , 64 , 256 } ,
1035
+ .hsync_len = { 40 , 168 , 767 } ,
1036
+ .vactive = { 800 , 800 , 800 } ,
1037
+ .vfront_porch = { 4 , 8 , 100 } ,
1038
+ .vback_porch = { 4 , 8 , 100 } ,
1039
+ .vsync_len = { 8 , 16 , 223 } ,
1040
1040
};
1041
1041
1042
1042
static const struct panel_desc auo_g101evn010 = {
1043
- .modes = & auo_g101evn010_mode ,
1044
- .num_modes = 1 ,
1043
+ .timings = & auo_g101evn010_timing ,
1044
+ .num_timings = 1 ,
1045
1045
.bpc = 6 ,
1046
1046
.size = {
1047
1047
.width = 216 ,
1048
1048
.height = 135 ,
1049
1049
},
1050
1050
.bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG ,
1051
+ .bus_flags = DRM_BUS_FLAG_DE_HIGH ,
1051
1052
.connector_type = DRM_MODE_CONNECTOR_LVDS ,
1052
1053
};
1053
1054
0 commit comments