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