Skip to content
Snippets Groups Projects
Commit cd821a40 authored by Sunil Khatri's avatar Sunil Khatri Committed by Steve Pfetsch
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 bac1f6d0
Branches
Tags
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