Skip to content

Commit

Permalink
drm/amdgpu: fence should be added to shared slot
Browse files Browse the repository at this point in the history
Signed-off-by: monk.liu <monk.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: jammy zhou <jammy.zhou@amd.com>
  • Loading branch information
monk.liu authored and Alex Deucher committed Jun 4, 2015
1 parent cfe2c97 commit aeb0aea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit aeb0aea

Please sign in to comment.