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:
Adrian Salido-Moreno <adrianm@codeaurora.org>
Loading
Please register or sign in to comment