msm: mdss: clear fences in ESD panel dead scenario
When a panel_dead scenario occurs during ESD test,
MDP driver's release/retire fences are cleared from
mdss_fb_atomic_commit. Since mdss_fb_atomic_commit is
called from HAL(user space) context, this leads to
race condition between HAL and mdss driver resulting
in UI freeze / UI corruption due to the difference
between release fence timeline and commit_cnt.
To avoid this, handle the panel dead scenario
gracefully from the mdss driver context.
Change-Id: Id42d88b26bba4c811ae547001759317cda3ef365
Signed-off-by:
Nirmal Abraham <nabrah@codeaurora.org>
Loading
Please register or sign in to comment