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>
This commit is contained in:

committed by
Dave Airlie

szülő
71f23543d3
commit
afaf592378
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user