summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2021-10-28 13:19:22 +0200
committerChristian König <christian.koenig@amd.com>2022-01-19 10:03:56 +0100
commit75ab2b3633ccddd8f7bdf6c76f9ab3f9b2fc5d9d (patch)
treec27df22013a20ca19062dcee94301250fb0abe84 /drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
parentacde6234f65bad89a2e27d3e8dd2daf680862545 (diff)
downloadlinux-stable-75ab2b3633ccddd8f7bdf6c76f9ab3f9b2fc5d9d.tar.gz
linux-stable-75ab2b3633ccddd8f7bdf6c76f9ab3f9b2fc5d9d.tar.bz2
linux-stable-75ab2b3633ccddd8f7bdf6c76f9ab3f9b2fc5d9d.zip
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
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
index b7fb72bff2c1..be48487e2ca7 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
@@ -112,7 +112,7 @@ void amdgpu_pasid_free_delayed(struct dma_resv *resv,
unsigned count;
int r;
- r = dma_resv_get_fences(resv, NULL, &count, &fences);
+ r = dma_resv_get_fences(resv, true, &count, &fences);
if (r)
goto fallback;