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

Skip to content
Commit 5eeeb523 authored by Prakash Kamliya's avatar Prakash Kamliya Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Use spin_lock_bh to avoid spinlock recursion



A sync fence timeout may lead to call adreno_drawctxt_dump()
for drawctxt sync pt dump, at the same time, its quite possible
that the cmdbatch timer expires on the *same* CPU, this will
also lead to call adreno_drawctx_dump(). This result into spin
lock recursion. Use spin_lock_bh instead of spin_lock to disable
soft irq (timer) while we are dumping the sync pt information.

Along with this change, few _irq are replaced with _bh, which
is enough to disable soft irq (timers).

Change-Id: I0d56601b81ded7c4821e2d9a837fb9e6b121ea8a
Signed-off-by: default avatarPrakash Kamliya <pkamliya@codeaurora.org>
parent 0bb9093c
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