sometimes, my imx6q board gets timeout when waiting for flip irq with rate 10~20%.
mxc_ipuv3_fb.c:
it seems there's not irq to do complete. and then it wait_for_completion_timeout.
hwcomposer/hwc_vsync.cpp
FBIO_WAITFORVSYNC error: time expire
i try as below, the issue also come out sometime. could u tell me why or some advice. thx.
1) Wait longer: wait_for_completion_timeout(&mxc_fbi->flip_complete, 4*HZ);
2) ldb_data = {
.ipu_id = 1, # or use ipu 0
.disp_id = 0,
.ext_ref = 1,
.mode = LDB_SIN0,
}
or
ldb_data = {
.ipu_id = 1,
.disp_id = 0,
.ext_ref = 1,
.mode = LDB_SEP0,
.sec_ipu_id = 1,
.sec_disp_id =1,
}
3) fb_data = {
{ /*fb0*/
.disp_dev = "ldb",
.interface_pix_fmt = IPU_PIX_FMT_RGB666,
.mode_str = "LDB-XGA",
.default_bpp = 16,
.int_clk = false,
.late_init = true, # or false
},
}
4)
ipu_data[] = {
{
.rev = 4,
.csi_clk[0] = "clko_clk",
.bypass_reset = false,
}, {
.rev = 4,
.csi_clk[0] = "clko_clk",
.bypass_reset = false,
},
};