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

Commit 6435f1ef authored by Adrian Salido-Moreno's avatar Adrian Salido-Moreno
Browse files

mdss: dsi: fix potential race conditions in mdp busy wait



Current mdp busy wait logic is prone to race conditions if there are
multiple threads waiting on MDP DMA transfer to be complete because use
of complete will only unblock one caller. Fix this by doing complete_all
instead to unblock all waiters.

Change-Id: I7b568f9d5fe3c68dec1532def2664f946925e770
Signed-off-by: default avatarAdrian Salido-Moreno <adrianm@codeaurora.org>
parent 0b070ebb
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