I have a setup where I can switch between video sources connected to the camera port (CSI0). Switching between sources that are in sync is ok, but switching to a source not in sync often generates an IPU panic with report "mxc_ipu mxc_ipu: IPU Error - IPU_INT_STAT_10 = 0x01000000" (IC_VF_FRM_LOST_ERR) and the IPU "hangs". This applies also for the test application mxc_v4l2_overlay.
How can I from user space prevent this from happening? I would like to suspend/resume the IPU processing during source switching, but I am not sure how to reach those driver functions. Or is there any way to setup IPU to automatically continue/restart processing after being interrupted by this error?