diff options
author | Chunming Zhou <david1.zhou@amd.com> | 2018-08-30 08:48:29 +0200 |
---|---|---|
committer | Christian König <easy2remember.chk@googlemail.com> | 2018-09-06 11:09:19 +0200 |
commit | 0a6730ea27b68c7ac4171c29a816c29d26a9637a (patch) | |
tree | 980c0f828eae86675dadbef42ef85c1633927b87 /drivers/gpu/drm/v3d | |
parent | drm: rename null fence to stub fence in syncobj v2 (diff) | |
download | linux-0a6730ea27b68c7ac4171c29a816c29d26a9637a.tar.xz 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 '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 5ce24098a5fd..9b9ab34fb461 100644 --- a/drivers/gpu/drm/v3d/v3d_gem.c +++ b/drivers/gpu/drm/v3d/v3d_gem.c @@ -521,12 +521,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, - &exec->bin.in_fence); + 0, &exec->bin.in_fence); if (ret == -EINVAL) goto fail; ret = drm_syncobj_find_fence(file_priv, args->in_sync_rcl, - &exec->render.in_fence); + 0, &exec->render.in_fence); if (ret == -EINVAL) goto fail; |