aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChunming Zhou <david1.zhou@amd.com>2018-10-15 16:55:47 +0800
committerChristian König <easy2remember.chk@googlemail.com>2018-10-16 14:50:16 +0200
commit649fdce23cdf516e69aa8c18f4b44c62127f0e83 (patch)
tree2ef7908b4741a1e5ffcc73ec22c11013c65dd4f2 /include
parentdrm: Shift * to be adjacent to pointer name (diff)
downloadlinux-dev-649fdce23cdf516e69aa8c18f4b44c62127f0e83.tar.xz
linux-dev-649fdce23cdf516e69aa8c18f4b44c62127f0e83.zip
drm: add flags to drm_syncobj_find_fence
flags can be used by driver to decide whether need to block wait submission. Signed-off-by: Chunming Zhou <david1.zhou@amd.com> SIgned-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Link: https://patchwork.kernel.org/patch/10641339/
Diffstat (limited to 'include')
-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 425432b85a87..2eda44def639 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, u64 point,
struct dma_fence *fence);
int drm_syncobj_find_fence(struct drm_file *file_private,
- u32 handle, u64 point,
+ u32 handle, u64 point, u64 flags,
struct dma_fence **fence);
void drm_syncobj_free(struct kref *kref);
int drm_syncobj_create(struct drm_syncobj **out_syncobj, uint32_t flags,