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

Commit 08481e28 authored by Deepak Kumar's avatar Deepak Kumar
Browse files

msm: kgsl: Correct locking in timeline destroy and fence release



Both "timeline->lock" and "fence_lock" are required to be held
while accessing timeline fence list and "timeline->lock" is
required to be held while signaling timeline fences. This is
not followed during timeline destroy and fence release resulting
in an invalid fence pointer access during timeline destroy. Fix
this by acquiring required locks at both places.

Change-Id: I353a6b9dece666c25d702c004a8bdabcac6d10a3
Signed-off-by: default avatarDeepak Kumar <dkumar@codeaurora.org>
parent e2ae22f9
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