diff options
author | Chunming Zhou <david1.zhou@amd.com> | 2018-08-30 02:48:29 -0400 |
---|---|---|
committer | Christian König <easy2remember.chk@googlemail.com> | 2018-09-06 05:09:19 -0400 |
commit | 0a6730ea27b68c7ac4171c29a816c29d26a9637a (patch) | |
tree | 980c0f828eae86675dadbef42ef85c1633927b87 /include/drm/drm_syncobj.h | |
parent | e28bd101ae1b0f3f653e160c0339c95da7e0fc1e (diff) |
drm: expand drm_syncobj_find_fence to support timeline point v2
we can fetch timeline point fence after expanded.
v2: The parameter fence is the result of the function and should come last.
Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/246541/
Diffstat (limited to 'include/drm/drm_syncobj.h')
-rw-r--r-- | include/drm/drm_syncobj.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_syncobj.h b/include/drm/drm_syncobj.h index e419c79ba94d..ab9055f943c7 100644 --- a/include/drm/drm_syncobj.h +++ b/include/drm/drm_syncobj.h | |||
@@ -134,7 +134,7 @@ struct drm_syncobj *drm_syncobj_find(struct drm_file *file_private, | |||
134 | void drm_syncobj_replace_fence(struct drm_syncobj *syncobj, | 134 | void drm_syncobj_replace_fence(struct drm_syncobj *syncobj, |
135 | struct dma_fence *fence); | 135 | struct dma_fence *fence); |
136 | int drm_syncobj_find_fence(struct drm_file *file_private, | 136 | int drm_syncobj_find_fence(struct drm_file *file_private, |
137 | u32 handle, | 137 | u32 handle, u64 point, |
138 | struct dma_fence **fence); | 138 | struct dma_fence **fence); |
139 | void drm_syncobj_free(struct kref *kref); | 139 | void drm_syncobj_free(struct kref *kref); |
140 | int drm_syncobj_create(struct drm_syncobj **out_syncobj, uint32_t flags, | 140 | int drm_syncobj_create(struct drm_syncobj **out_syncobj, uint32_t flags, |