aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2021-10-28 11:19:22 +0000
committerChristian König <[email protected]>2022-01-19 09:03:56 +0000
commit75ab2b3633ccddd8f7bdf6c76f9ab3f9b2fc5d9d (patch)
treec27df22013a20ca19062dcee94301250fb0abe84 /drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
parentdrm/amdgpu: remove excl as shared workarounds (diff)
downloadkernel-75ab2b3633ccddd8f7bdf6c76f9ab3f9b2fc5d9d.tar.gz
kernel-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 <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
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;