diff options
author | Chunming Zhou <david1.zhou@amd.com> | 2018-08-30 14:48:30 +0800 |
---|---|---|
committer | Christian König <easy2remember.chk@googlemail.com> | 2018-09-06 11:09:31 +0200 |
commit | 9a09a42369a4a37a959c051d8e1a1f948c1529a4 (patch) | |
tree | 1cb1e1780dd72a55cc736e4d50b4841c3c7d3012 /drivers/gpu/drm/i915/i915_gem_execbuffer.c | |
parent | 0a6730ea27b68c7ac4171c29a816c29d26a9637a (diff) | |
download | linux-stable-9a09a42369a4a37a959c051d8e1a1f948c1529a4.tar.gz linux-stable-9a09a42369a4a37a959c051d8e1a1f948c1529a4.tar.bz2 linux-stable-9a09a42369a4a37a959c051d8e1a1f948c1529a4.zip |
drm: expand replace_fence to support timeline point v2
we can place a fence to a timeline point after expanded.
v2: change func parameter order
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/246543/
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_execbuffer.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem_execbuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/i915_gem_execbuffer.c index 3f0c612d42e7..0a8d2d64f380 100644 --- a/drivers/gpu/drm/i915/i915_gem_execbuffer.c +++ b/drivers/gpu/drm/i915/i915_gem_execbuffer.c @@ -2166,7 +2166,7 @@ signal_fence_array(struct i915_execbuffer *eb, if (!(flags & I915_EXEC_FENCE_SIGNAL)) continue; - drm_syncobj_replace_fence(syncobj, fence); + drm_syncobj_replace_fence(syncobj, 0, fence); } } |