Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5ba5cfbb authored by Ujwal Patel's avatar Ujwal Patel Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarUjwal Patel <ujwalp@codeaurora.org>
parent bb5760c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment