]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
dma-buf: add dma_fence_get_stub
authorChristian König <christian.koenig@amd.com>
Mon, 3 Dec 2018 12:36:14 +0000 (13:36 +0100)
committerChristian König <christian.koenig@amd.com>
Mon, 3 Dec 2018 16:40:18 +0000 (17:40 +0100)
commit078dec3326e2244c62e8a8d970ba24359e3464be
treefe94d4a9b88eac3915cdc1eaa5f560a517bd2abe
parent4fb86404a977b932eed56c0dd0954f6225eee3eb
dma-buf: add dma_fence_get_stub

Extract of useful code from the timeline work. This provides a function
to return a stub or dummy fence which is always signaled.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Link: https://patchwork.freedesktop.org/patch/265248/
drivers/dma-buf/dma-fence.c
include/linux/dma-fence.h