drm: expand replace_fence to support timeline point v2
authorChunming Zhou <david1.zhou@amd.com>
Thu, 30 Aug 2018 06:48:30 +0000 (14:48 +0800)
committerChristian König <easy2remember.chk@googlemail.com>
Thu, 6 Sep 2018 09:09:31 +0000 (11:09 +0200)
commit9a09a42369a4a37a959c051d8e1a1f948c1529a4
tree1cb1e1780dd72a55cc736e4d50b4841c3c7d3012
parent0a6730ea27b68c7ac4171c29a816c29d26a9637a
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/
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/drm_syncobj.c
drivers/gpu/drm/i915/i915_gem_execbuffer.c
drivers/gpu/drm/v3d/v3d_gem.c
drivers/gpu/drm/vc4/vc4_gem.c
include/drm/drm_syncobj.h