Skip to content
Snippets Groups Projects
Commit a8ba40fd authored by Sunil Khatri's avatar Sunil Khatri Committed by Stuart Scott
Browse files

msm: kgsl: Fix the race between context create and destroy


Hold the context lock before updating the context id in
param->drawctxt_id to avoid race condition between context
creation and context destroy.

Bug: 36491445
Change-Id: Ic26d3e5b68078c02d15c38080b1a262ea4b1f7fe
Signed-off-by: default avatarSunil Khatri <sunilkh@codeaurora.org>
parent 17b7466c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment