alistair23-linux/drivers/dma-buf
Gustavo Padovan 972526a409 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 <gustavo.padovan@collabora.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
2016-08-11 15:33:24 +05:30
..
dma-buf.c dma-buf: Release module reference on creation failure 2016-07-18 14:10:49 +02:00
fence-array.c dma-buf/fence-array: add fence_is_array() 2016-08-11 15:33:23 +05:30
fence.c dma-buf/fence: make fence context 64 bit v2 2016-06-02 08:27:41 +02:00
Kconfig dma-buf/sync_file: improve Kconfig description for Sync Files 2016-07-13 19:52:08 +05:30
Makefile dma-buf/fence: add fence_array fences v6 2016-06-02 09:26:15 +02:00
reservation.c reservation: add headerdoc comments 2016-05-31 22:12:43 +05:30
seqno-fence.c dma-buf: Minor coding style fixes 2015-05-21 11:29:59 +05:30
sync_file.c dma-buf/sync_file: add sync_file_get_fence() 2016-08-11 15:33:24 +05:30