@@ -1210,27 +1210,28 @@ static const struct panel_desc auo_g070vvn01 = {
1210
1210
},
1211
1211
};
1212
1212
1213
- static const struct drm_display_mode auo_g101evn010_mode = {
1214
- .clock = 68930 ,
1215
- .hdisplay = 1280 ,
1216
- .hsync_start = 1280 + 82 ,
1217
- .hsync_end = 1280 + 82 + 2 ,
1218
- .htotal = 1280 + 82 + 2 + 84 ,
1219
- .vdisplay = 800 ,
1220
- .vsync_start = 800 + 8 ,
1221
- .vsync_end = 800 + 8 + 2 ,
1222
- .vtotal = 800 + 8 + 2 + 6 ,
1213
+ static const struct display_timing auo_g101evn010_timing = {
1214
+ .pixelclock = { 64000000 , 68930000 , 85000000 } ,
1215
+ .hactive = { 1280 , 1280 , 1280 } ,
1216
+ .hfront_porch = { 8 , 64 , 256 } ,
1217
+ .hback_porch = { 8 , 64 , 256 } ,
1218
+ .hsync_len = { 40 , 168 , 767 } ,
1219
+ .vactive = { 800 , 800 , 800 } ,
1220
+ .vfront_porch = { 4 , 8 , 100 } ,
1221
+ .vback_porch = { 4 , 8 , 100 } ,
1222
+ .vsync_len = { 8 , 16 , 223 } ,
1223
1223
};
1224
1224
1225
1225
static const struct panel_desc auo_g101evn010 = {
1226
- .modes = & auo_g101evn010_mode ,
1227
- .num_modes = 1 ,
1226
+ .timings = & auo_g101evn010_timing ,
1227
+ .num_timings = 1 ,
1228
1228
.bpc = 6 ,
1229
1229
.size = {
1230
1230
.width = 216 ,
1231
1231
.height = 135 ,
1232
1232
},
1233
1233
.bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG ,
1234
+ .bus_flags = DRM_BUS_FLAG_DE_HIGH ,
1234
1235
.connector_type = DRM_MODE_CONNECTOR_LVDS ,
1235
1236
};
1236
1237
0 commit comments