diff options
| author | Christian König <[email protected]> | 2021-10-28 11:19:22 +0000 |
|---|---|---|
| committer | Christian König <[email protected]> | 2022-01-19 09:03:56 +0000 |
| commit | 75ab2b3633ccddd8f7bdf6c76f9ab3f9b2fc5d9d (patch) | |
| tree | c27df22013a20ca19062dcee94301250fb0abe84 /drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | |
| parent | drm/amdgpu: remove excl as shared workarounds (diff) | |
| download | kernel-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.c | 2 |
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; |
