summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorJason Ekstrand <jason@jlekstrand.net>2017-08-25 19:52:19 +0200
committerDave Airlie <airlied@redhat.com>2017-08-28 22:17:37 +0200
commitafaf59237843bf89823c33143beca6b262dff0ca (patch)
tree3f1eaa02084f7985926a8bace3b8a048b2ed167e /include/drm
parentdrm: kirin: Add mode_valid logic to avoid mode clocks we can't generate (diff)
downloadlinux-afaf59237843bf89823c33143beca6b262dff0ca.tar.xz
linux-afaf59237843bf89823c33143beca6b262dff0ca.zip
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 'include/drm')
-rw-r--r--include/drm/drm_syncobj.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/drm/drm_syncobj.h b/include/drm/drm_syncobj.h
index 89976da542b1..7d4ad777132e 100644
--- a/include/drm/drm_syncobj.h
+++ b/include/drm/drm_syncobj.h
@@ -81,9 +81,9 @@ struct drm_syncobj *drm_syncobj_find(struct drm_file *file_private,
u32 handle);
void drm_syncobj_replace_fence(struct drm_syncobj *syncobj,
struct dma_fence *fence);
-int drm_syncobj_fence_get(struct drm_file *file_private,
- u32 handle,
- struct dma_fence **fence);
+int drm_syncobj_find_fence(struct drm_file *file_private,
+ u32 handle,
+ struct dma_fence **fence);
void drm_syncobj_free(struct kref *kref);
#endif