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

Skip to content
Commit 09ed8b51 authored by Dhaval Patel's avatar Dhaval Patel
Browse files

drm/msm/sde: support fence release before fence signal



Fence create call returns the fd to caller client. Client
may close the fd before fence is signaled by timeline.
The close fd call is translated into fence_release followed
by fence memory free. If fence signal is called at later
point to adjust the timeline; it may try to pick the
dangle pointer fence from fence_list and try to delete
it. This patch fixes the race condition between fence
release and fence signal.

Change-Id: I28aaf625066b43fbb659d917adbf9dd577b4b7ea
Signed-off-by: default avatarDhaval Patel <pdhaval@codeaurora.org>
parent d3756c00
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