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

Skip to content
Commit 01f20206 authored by Sumukh Hallymysore Ravindra's avatar Sumukh Hallymysore Ravindra
Browse files

msm: synx: support for external dma fence



Changes to support synx framework with both internally
created dma fences and as a wrapper to externally
managed dma fences.
Accepts the external dma fence and binds to existing
synx object through the synx_export api. A new api
added to return the dma fence backing the synx object.
Modifications to object creation, management and cleanup
due to the support for external dma fences. Each synx
object holds single reference to the underlying dma fence
and multiple client references to the synx object is
managed through the reference counts maintained per
client handle.
Added mutex lock to handle the critical section with
synx objects. Non interruptible spin locks will be used
when required to update backing fence.

Change-Id: I94a77436e0c2379e3be5227dfb1ce835dc109ea5
Signed-off-by: default avatarSumukh Hallymysore Ravindra <shallymy@codeaurora.org>
parent d5ee68b8
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