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 /drivers/gpu/drm/v3d | |
parent | 7bd01a085582b9251fac26b93cfa490ce54ece63 (diff) | |
download | linux-stable-649fdce23cdf516e69aa8c18f4b44c62127f0e83.tar.gz linux-stable-649fdce23cdf516e69aa8c18f4b44c62127f0e83.tar.bz2 linux-stable-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 'drivers/gpu/drm/v3d')
-rw-r--r-- | drivers/gpu/drm/v3d/v3d_gem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/v3d/v3d_gem.c b/drivers/gpu/drm/v3d/v3d_gem.c index 2814c72cb090..e688369ca82b 100644 --- a/drivers/gpu/drm/v3d/v3d_gem.c +++ b/drivers/gpu/drm/v3d/v3d_gem.c @@ -522,12 +522,12 @@ v3d_submit_cl_ioctl(struct drm_device *dev, void *data, kref_init(&exec->refcount); ret = drm_syncobj_find_fence(file_priv, args->in_sync_bcl, - 0, &exec->bin.in_fence); + 0, 0, &exec->bin.in_fence); if (ret == -EINVAL) goto fail; ret = drm_syncobj_find_fence(file_priv, args->in_sync_rcl, - 0, &exec->render.in_fence); + 0, 0, &exec->render.in_fence); if (ret == -EINVAL) goto fail; |