@@ -1027,27 +1027,28 @@ static const struct panel_desc auo_g070vvn01 = {
10271027 },
10281028};
10291029
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 } ,
10401040};
10411041
10421042static const struct panel_desc auo_g101evn010 = {
1043- .modes = & auo_g101evn010_mode ,
1044- .num_modes = 1 ,
1043+ .timings = & auo_g101evn010_timing ,
1044+ .num_timings = 1 ,
10451045 .bpc = 6 ,
10461046 .size = {
10471047 .width = 216 ,
10481048 .height = 135 ,
10491049 },
10501050 .bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG ,
1051+ .bus_flags = DRM_BUS_FLAG_DE_HIGH ,
10511052 .connector_type = DRM_MODE_CONNECTOR_LVDS ,
10521053};
10531054
0 commit comments