diff options
author | Jason Ekstrand <jason@jlekstrand.net> | 2017-08-25 20:52:19 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2017-08-28 23:17:37 +0300 |
commit | afaf59237843bf89823c33143beca6b262dff0ca (patch) | |
tree | 3f1eaa02084f7985926a8bace3b8a048b2ed167e /drivers/gpu/drm/amd | |
parent | 71f23543d3026d835ca1741e57e7eb4baeca63dc (diff) | |
download | linux-afaf59237843bf89823c33143beca6b262dff0ca.tar.xz |
drm/syncobj: Rename fence_get to find_fence
The function has far more in common with drm_syncobj_find than with
any in the get/put functions.
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Acked-by: Christian König <christian.koenig@amd.com> (v1)
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c index 15d4a28d73bb..269b835571eb 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c @@ -1035,7 +1035,7 @@ static int amdgpu_syncobj_lookup_and_add_to_sync(struct amdgpu_cs_parser *p, { int r; struct dma_fence *fence; - r = drm_syncobj_fence_get(p->filp, handle, &fence); + r = drm_syncobj_find_fence(p->filp, handle, &fence); if (r) return r; |