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/amd/amdgpu/amdgpu_cs.c | |
parent | 0a6730ea27b68c7ac4171c29a816c29d26a9637a (diff) | |
download | linux-9a09a42369a4a37a959c051d8e1a1f948c1529a4.tar.gz linux-9a09a42369a4a37a959c051d8e1a1f948c1529a4.tar.bz2 linux-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/amd/amdgpu/amdgpu_cs.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c index 5db7b1b460da..d68b73ff92d2 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c @@ -1191,7 +1191,7 @@ static void amdgpu_cs_post_dependencies(struct amdgpu_cs_parser *p) int i; for (i = 0; i < p->num_post_dep_syncobjs; ++i) - drm_syncobj_replace_fence(p->post_dep_syncobjs[i], p->fence); + drm_syncobj_replace_fence(p->post_dep_syncobjs[i], 0, p->fence); } static int amdgpu_cs_submit(struct amdgpu_cs_parser *p, |