OSDN Git Service

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)
commit75ab2b3633ccddd8f7bdf6c76f9ab3f9b2fc5d9d
treec27df22013a20ca19062dcee94301250fb0abe84
parentacde6234f65bad89a2e27d3e8dd2daf680862545
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