]> git.baikalelectronics.ru Git - kernel.git/commit
dma-buf: rename and cleanup dma_resv_get_list v2
authorChristian König <christian.koenig@amd.com>
Tue, 11 May 2021 12:11:41 +0000 (14:11 +0200)
committerChristian König <christian.koenig@amd.com>
Sun, 6 Jun 2021 09:18:19 +0000 (11:18 +0200)
commitfb5ce730f21434d8100942cf1dbe1acda255fbeb
treee0dd76d6ce43a30cd53d4b6e60379339afe4110c
parent6edbd6abb783d54f6ac4c3ed5cd9e50cff6c15e9
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 <christian.koenig@amd.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210602111714.212426-5-christian.koenig@amd.com
13 files changed:
drivers/dma-buf/dma-resv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/etnaviv/etnaviv_gem.c
drivers/gpu/drm/i915/gem/i915_gem_busy.c
drivers/gpu/drm/msm/msm_gem.c
drivers/gpu/drm/nouveau/nouveau_fence.c
drivers/gpu/drm/qxl/qxl_debugfs.c
drivers/gpu/drm/radeon/radeon_sync.c
drivers/gpu/drm/ttm/ttm_bo.c
include/linux/dma-resv.h