disp: msm: sde: re-sechedule idle pc event in esd failure case
1. When panel esd check fails, rc_state request to ON will occur in event thread. 2. This ON state is not guaranteed since idle pc event can occur in parallel on commit thread if frame pending count reaches 0. 3. ESD thread is trying to switch vsync at this point to avoid RSC hang, but idle pc event has disabled clocks causing NOC error. To avoid such condition this patch re-schedules idle work which allows completion of display failure notification before the device enters idle state. This re-scheduling is achieved by modifying early return in rc_restart_delayed introduced as part of commit 63107e09 ("disp: msm: sde: allow delayed_off_work scheduling always"). Change-Id: Ie1a1964b92fe1c681cdf0fc5e10591ef14b2d4c3 Signed-off-by:Mahadevan <mahap@codeaurora.org>
Loading
Please register or sign in to comment