msm: mdss: reset ctl path if rotator wait4comp returns error
Currently if due to bad configuration rotator job hangs, write-back done
interrupt will not be received. This will cause wait4comp to timeout and
return an error from write-back module. However this error is ignored by
the rotator driver and it proceeds further with next job. This next job
will fail certain HW idle checks because rotator HW hasn't been reset due
to previous bad job. Correct behaviour should be to reset the HW after
bad configuration has been detected. Achieve this by checking for return
error from wait4comp and if error, reset the ctl path to clear HW state.
Change-Id: Ie26f4c6e7c41cc86c0d1a3e0110f207ba9733aac
Signed-off-by:
Ujwal Patel <ujwalp@codeaurora.org>
Loading
Please register or sign in to comment