diff options
author | Chunming Zhou <david1.zhou@amd.com> | 2018-10-15 16:55:47 +0800 |
---|---|---|
committer | Christian König <easy2remember.chk@googlemail.com> | 2018-10-16 14:50:16 +0200 |
commit | 649fdce23cdf516e69aa8c18f4b44c62127f0e83 (patch) | |
tree | 2ef7908b4741a1e5ffcc73ec22c11013c65dd4f2 /include/drm | |
parent | 7bd01a085582b9251fac26b93cfa490ce54ece63 (diff) | |
download | lwn-649fdce23cdf516e69aa8c18f4b44c62127f0e83.tar.gz lwn-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/drm')
-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 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, |