diff options
| author | Christian König <[email protected]> | 2021-05-11 12:11:41 +0000 |
|---|---|---|
| committer | Christian König <[email protected]> | 2021-06-06 09:18:19 +0000 |
| commit | fb5ce730f21434d8100942cf1dbe1acda255fbeb (patch) | |
| tree | e0dd76d6ce43a30cd53d4b6e60379339afe4110c /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | |
| parent | dma-buf: rename and cleanup dma_resv_get_excl v3 (diff) | |
| download | kernel-fb5ce730f21434d8100942cf1dbe1acda255fbeb.tar.gz kernel-fb5ce730f21434d8100942cf1dbe1acda255fbeb.zip | |
dma-buf: rename and cleanup dma_resv_get_list v2
When the comment needs to state explicitly that this is doesn't get a reference
to the object then the function is named rather badly.
Rename the function and use it in even more places.
v2: use dma_resv_shared_list as new name
Signed-off-by: Christian König <[email protected]>
Acked-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c index 2bdc9df5c6b9..1b2ceccaf5b0 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c @@ -213,7 +213,7 @@ int amdgpu_sync_resv(struct amdgpu_device *adev, struct amdgpu_sync *sync, f = dma_resv_excl_fence(resv); r = amdgpu_sync_fence(sync, f); - flist = dma_resv_get_list(resv); + flist = dma_resv_shared_list(resv); if (!flist || r) return r; |
