Hi, here is what more knowledgeable colleagues suggest:
Please find below required code changes:
1.
Old:
/* Setup active data waveform to sync with DC */
_ipu_di_sync_config(disp, 4, 0, DI_SYNC_HSYNC,
v_sync_width + v_start_width, DI_SYNC_HSYNC, height,
DI_SYNC_VSYNC, 0, DI_SYNC_NONE,
DI_SYNC_NONE, 0, 0);
New:
/* Setup active data waveform to sync with DC */
_ipu_di_sync_config(disp, 5, 0, DI_SYNC_HSYNC,
v_sync_width + v_start_width, DI_SYNC_HSYNC, height,
DI_SYNC_VSYNC, 0, DI_SYNC_NONE,
DI_SYNC_NONE, 0, 0);
2.
Old:
_ipu_di_sync_config(disp, 5, 0, DI_SYNC_CLK,
h_sync_width + h_start_width, DI_SYNC_CLK,
width, 4, 0, DI_SYNC_NONE, DI_SYNC_NONE, 0,
0);
New:
_ipu_di_sync_config(disp, 8, 0, DI_SYNC_CLK,
h_sync_width + h_start_width, DI_SYNC_CLK,
width, 5, 0, DI_SYNC_NONE, DI_SYNC_NONE, 0,
0);
3.
Old:
/* set VGA delayed hsync/vsync no matter VGA enabled */
/* couter 7 for VGA delay HSYNC */
_ipu_di_sync_config(disp, 7,
h_total - 1, DI_SYNC_CLK,
18, DI_SYNC_CLK,
0, DI_SYNC_NONE,
1, DI_SYNC_NONE, DI_SYNC_CLK,
0, h_sync_width * 2);
New:
/* set VGA delayed hsync/vsync no matter VGA enabled */
/* couter 4 for VGA delay HSYNC */
_ipu_di_sync_config(disp, 4,
h_total - 1, DI_SYNC_CLK,
18, DI_SYNC_CLK,
0, DI_SYNC_NONE,
1, DI_SYNC_NONE, DI_SYNC_CLK,
0, h_sync_width * 2);
4.
Old:
/* couter 8 for VGA delay VSYNC */
_ipu_di_sync_config(disp, 8,
v_total - 1, DI_SYNC_INT_HSYNC,
1, DI_SYNC_INT_HSYNC,
0, DI_SYNC_NONE,
1, DI_SYNC_NONE, DI_SYNC_INT_HSYNC,
0, v_sync_width * 2);
New:
/* couter 6 for VGA delay VSYNC */
_ipu_di_sync_config(disp, 6,
v_total - 1, DI_SYNC_INT_HSYNC,
1, DI_SYNC_INT_HSYNC,
0, DI_SYNC_NONE,
1, DI_SYNC_NONE, DI_SYNC_INT_HSYNC,
0, v_sync_width * 2);
5.
Old:
_ipu_dc_write_tmpl(2, WROD(0), 0, map, SYNC_WAVE, 8, 5, 1);
_ipu_dc_write_tmpl(3, WRG, 0, map, SYNC_WAVE, 4, 5, 1);
_ipu_dc_write_tmpl(4, WROD(0), 0, map, SYNC_WAVE, 0, 5, 1);
New:
_ipu_dc_write_tmpl(2, WROD(0), 0, map, SYNC_WAVE, 8, 8, 1);
_ipu_dc_write_tmpl(3, WRG, 0, map, SYNC_WAVE, 4, 8, 1);
_ipu_dc_write_tmpl(4, WROD(0), 0, map, SYNC_WAVE, 0, 8, 1);