aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorChunming Zhou <david1.zhou@amd.com>2018-08-30 14:48:30 +0800
committerChristian König <easy2remember.chk@googlemail.com>2018-09-06 11:09:31 +0200
commit9a09a42369a4a37a959c051d8e1a1f948c1529a4 (patch)
tree1cb1e1780dd72a55cc736e4d50b4841c3c7d3012 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentdrm: expand drm_syncobj_find_fence to support timeline point v2 (diff)
downloadlinux-dev-9a09a42369a4a37a959c051d8e1a1f948c1529a4.tar.xz
linux-dev-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.c2
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,