summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_gem.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2021-06-02 12:44:32 +0200
committerChristian König <christian.koenig@amd.com>2021-06-06 11:19:30 +0200
commit6b41323a265a02b7af906c6d6fd93f6cddd7ac12 (patch)
tree314bfce1353000b47e0bc96bc5c0aee5aadb56cf /drivers/gpu/drm/drm_gem.c
parentfb5ce730f21434d8100942cf1dbe1acda255fbeb (diff)
downloadlinux-6b41323a265a02b7af906c6d6fd93f6cddd7ac12.tar.gz
dma-buf: rename dma_resv_get_excl_rcu to _unlocked
That describes much better what the function is doing here. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20210602111714.212426-6-christian.koenig@amd.com
Diffstat (limited to 'drivers/gpu/drm/drm_gem.c')
-rw-r--r--drivers/gpu/drm/drm_gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_gem.c b/drivers/gpu/drm/drm_gem.c
index 9989425e9875..263b4fb03303 100644
--- a/drivers/gpu/drm/drm_gem.c
+++ b/drivers/gpu/drm/drm_gem.c
@@ -1375,7 +1375,7 @@ int drm_gem_fence_array_add_implicit(struct xarray *fence_array,
if (!write) {
struct dma_fence *fence =
- dma_resv_get_excl_rcu(obj->resv);
+ dma_resv_get_excl_unlocked(obj->resv);
return drm_gem_fence_array_add(fence_array, fence);
}