diff options
author | Christian König <christian.koenig@amd.com> | 2021-06-02 12:44:32 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2021-06-06 11:19:30 +0200 |
commit | 6b41323a265a02b7af906c6d6fd93f6cddd7ac12 (patch) | |
tree | 314bfce1353000b47e0bc96bc5c0aee5aadb56cf /drivers/gpu/drm/drm_gem_atomic_helper.c | |
parent | dma-buf: rename and cleanup dma_resv_get_list v2 (diff) | |
download | linux-6b41323a265a02b7af906c6d6fd93f6cddd7ac12.tar.xz linux-6b41323a265a02b7af906c6d6fd93f6cddd7ac12.zip |
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_atomic_helper.c')
-rw-r--r-- | drivers/gpu/drm/drm_gem_atomic_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_gem_atomic_helper.c b/drivers/gpu/drm/drm_gem_atomic_helper.c index a005c5a0ba46..a27135084ae5 100644 --- a/drivers/gpu/drm/drm_gem_atomic_helper.c +++ b/drivers/gpu/drm/drm_gem_atomic_helper.c @@ -147,7 +147,7 @@ int drm_gem_plane_helper_prepare_fb(struct drm_plane *plane, struct drm_plane_st return 0; obj = drm_gem_fb_get_obj(state->fb, 0); - fence = dma_resv_get_excl_rcu(obj->resv); + fence = dma_resv_get_excl_unlocked(obj->resv); drm_atomic_set_fence_for_plane(state, fence); return 0; |