drm: add flags to drm_syncobj_find_fence
authorChunming Zhou <david1.zhou@amd.com>
Mon, 15 Oct 2018 08:55:47 +0000 (16:55 +0800)
committerChristian König <easy2remember.chk@googlemail.com>
Tue, 16 Oct 2018 12:50:16 +0000 (14:50 +0200)
commit649fdce23cdf516e69aa8c18f4b44c62127f0e83
tree2ef7908b4741a1e5ffcc73ec22c11013c65dd4f2
parent7bd01a085582b9251fac26b93cfa490ce54ece63
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/
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