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

Commit 6957735b authored by Ajay Singh Parmar's avatar Ajay Singh Parmar
Browse files

drm/msm/dp: fix race condition during simulation



The simulation script can end abruptly during simulation
testing. This may result in buffers being released by the
script while the test may still be using them.
Use mutex lock to avoid multiple threads to allocate/deallocate
and access the buffers at the same time to avoid system instability.

CRs-Fixed: 2308439
Change-Id: Ia1c407d91afa98b4085d58cb45c8659206a0f990
Signed-off-by: default avatarAjay Singh Parmar <aparmar@codeaurora.org>
parent ade22fca
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