From aeb0aeac2e4f23bb58a642c720883ceba407c072 Mon Sep 17 00:00:00 2001 From: "monk.liu" Date: Tue, 26 May 2015 15:03:45 +0800 Subject: [PATCH] drm/amdgpu: fence should be added to shared slot MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: monk.liu Reviewed-by: Christian König Reviewed-by: jammy zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c index 4d26b303b495..fd28e890693e 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c @@ -344,7 +344,7 @@ static int amdgpu_vm_clear_bo(struct amdgpu_device *adev, if (r) goto error_free; - amdgpu_bo_fence(bo, ib.fence, false); + amdgpu_bo_fence(bo, ib.fence, true); error_free: amdgpu_ib_free(adev, &ib); @@ -462,7 +462,7 @@ int amdgpu_vm_update_page_directory(struct amdgpu_device *adev, amdgpu_ib_free(adev, &ib); return r; } - amdgpu_bo_fence(pd, ib.fence, false); + amdgpu_bo_fence(pd, ib.fence, true); } amdgpu_ib_free(adev, &ib); -- 2.20.1