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

Skip to content
Commit e55cd14c authored by Sandeep Panda's avatar Sandeep Panda
Browse files

drm/msm/sde: avoid dead lock in missing TE recovery sequence



In the current implementation if there is no TE coming from
display panel, then ESD recovery kicks in to reset display HW.
In the ESD recovery path driver puts vote for HW resources by
queuing a work in the commit thread, to avoid unclocked access
to SDE registers and then waits for work to finish. But if the
recovery process is triggered by commit thread itself, then it
will lead to deadlock. Hence avoid this scenario by checking
for thread id before putting the vote.

Change-Id: Ia03d95d929215ef4f23f6de11ebabeef5f66d9e3
Signed-off-by: default avatarSandeep Panda <spanda@codeaurora.org>
parent a385b633
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment