]> git.baikalelectronics.ru Git - kernel.git/commit
dma-buf: drop excl_fence parameter from dma_resv_get_fences
authorChristian König <christian.koenig@amd.com>
Thu, 28 Oct 2021 11:19:22 +0000 (13:19 +0200)
committerChristian König <christian.koenig@amd.com>
Wed, 19 Jan 2022 09:03:56 +0000 (10:03 +0100)
commit8f46b4304d9136128aba0af17cc457ea63ea5ac8
treec27df22013a20ca19062dcee94301250fb0abe84
parent632034c3ce5faf8927f4cb10310b1fe0145625e5
dma-buf: drop excl_fence parameter from dma_resv_get_fences

Returning the exclusive fence separately is no longer used.

Instead add a write parameter to indicate the use case.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20211207123411.167006-4-christian.koenig@amd.com
drivers/dma-buf/dma-resv.c
drivers/dma-buf/st-dma-resv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c
include/linux/dma-resv.h