diff options
author | Gustavo Padovan <[email protected]> | 2016-08-05 10:39:36 -0300 |
---|---|---|
committer | Sumit Semwal <[email protected]> | 2016-08-11 15:33:24 +0530 |
commit | 972526a4093243fdaf77dd7c6f8b11fba5b15864 (patch) | |
tree | 49121dcbbcec8f6c7acc8cd6762395e81183c18b /tools/perf/scripts/python | |
parent | a02b9dc90d844cc7df7b63264e7920cc425052d9 (diff) |
dma-buf/sync_file: add sync_file_get_fence()
Creates a function that given an sync file descriptor returns a
fence containing all fences in the sync_file.
v2: Comments by Daniel Vetter
- Adapt to new version of fence_collection_init()
- Hold a reference for the fence we return
v3:
- Adapt to use fput() directly
- rename to sync_file_get_fence() as we always return one fence
v4: Adapt to use fence_array
v5: set fence through fence_get()
Signed-off-by: Gustavo Padovan <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Acked-by: Christian König <[email protected]>
Signed-off-by: Sumit Semwal <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions