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

Skip to content
Commit 969ba40b authored by Shubhraprakash Das's avatar Shubhraprakash Das Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Fix fence debug message lock sequence



When fences timeout then debug information is printed to logs.
Fence timing out from sync driver calls a callback into kgsl
driver to print additional information about fence. Sync point
timers timing out in kgsl driver calls fence driver to print
fence information which again calls back into kgsl driver. Due
to this callback the spin lock taken in the sync timeout thread
can lead to deadlock or double spin unlock calls. Simplify the
code by making sure that when kgsl driver calls fence driver
to print fence information then the fence driver does not
callback again into kgsl driver.

Conflicts:
        drivers/gpu/msm/kgsl.c

CRs-Fixed: 816579
Change-Id: I5fea94fdb03d5d8e400d220c01a5faee498b3f54
Signed-off-by: default avatarShubhraprakash Das <sadas@codeaurora.org>
parent 17ece053
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