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

Commit d14dbe68 authored by Akhil P Oommen's avatar Akhil P Oommen Committed by Urvashi Agrawal
Browse files

msm: kgsl: Fix gdsc disable timeout during reset



Smmu driver takes a vote on CX gdsc before calling the kgsl pagefault
handler. If there is contention for device mutex in this path and the
dispatcher fault handler is holding this lock, trying to turn off CX
gdsc will fail during the reset. So to avoid blocking here, try to
lock device mutex and return if it fails.

Change-Id: Idf1726960071d66b9112f6b4abdf19a49afacefd
Signed-off-by: default avatarAkhil P Oommen <akhilpo@codeaurora.org>
Signed-off-by: default avatarUrvashi Agrawal <urvaagra@codeaurora.org>
parent 0cfe1003
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