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

Skip to content
Commit df0978c3 authored by Adrian Salido-Moreno's avatar Adrian Salido-Moreno Committed by Stephen Boyd
Browse files

msm: mdss: replace disable irq with no sync to avoid potential deadlock



Potential deadlock can happen when disabling irq after receiving vsync
complete event in display if at the same time MDSS irq is triggered, at
this point disable irq will hold spin lock which irq tries to get and
will not release because it's waiting on irq to be disabled.

This scenario can be avoided by using disable_irq_nosync instead to
avoid locking on irq to be disabled while holding spinlock.

CRs-Fixed: 416304
Change-Id: I1e367ac2b5d7b0ed7d1c15efc8d29a6ffa9fea5e
Signed-off-by: default avatarAdrian Salido-Moreno <adrianm@codeaurora.org>
parent ff6be66a
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