summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorChunming Zhou <david1.zhou@amd.com>2018-08-30 14:48:29 +0800
committerChristian König <easy2remember.chk@googlemail.com>2018-09-06 11:09:19 +0200
commit0a6730ea27b68c7ac4171c29a816c29d26a9637a (patch)
tree980c0f828eae86675dadbef42ef85c1633927b87 /include/drm
parente28bd101ae1b0f3f653e160c0339c95da7e0fc1e (diff)
downloadlinux-0a6730ea27b68c7ac4171c29a816c29d26a9637a.tar.gz
linux-0a6730ea27b68c7ac4171c29a816c29d26a9637a.tar.bz2
linux-0a6730ea27b68c7ac4171c29a816c29d26a9637a.zip
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')
-rw-r--r--include/drm/drm_syncobj.h2
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,
void drm_syncobj_replace_fence(struct drm_syncobj *syncobj,
struct dma_fence *fence);
int drm_syncobj_find_fence(struct drm_file *file_private,
- u32 handle,
+ u32 handle, u64 point,
struct dma_fence **fence);
void drm_syncobj_free(struct kref *kref);
int drm_syncobj_create(struct drm_syncobj **out_syncobj, uint32_t flags,