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

Commit 8343bb90 authored by Mahadevan's avatar Mahadevan
Browse files

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: default avatarMahadevan <mahap@codeaurora.org>
parent 9025759e
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