aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorEric Huang <JinhuiEric.Huang@amd.com>2021-07-26 11:23:17 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-08-02 17:21:24 -0400
commitcc6152ff4ff339f4d3a3f35d43d416010d62842d (patch)
tree53c537daebf52a6fbc065a7ac56692aff56224f2 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentRevert "Revert "drm/amdkfd: Add heavy-weight TLB flush after unmapping"" (diff)
downloadlinux-dev-cc6152ff4ff339f4d3a3f35d43d416010d62842d.tar.xz
linux-dev-cc6152ff4ff339f4d3a3f35d43d416010d62842d.zip
Revert "Revert "drm/amdgpu: Add table_freed parameter to amdgpu_vm_bo_update""
This reverts commit 024d8811c90ed56d8b90cdcf71e51c9fedeff460. Revert reason: The issue has been resolved. Signed-off-by: Eric Huang <jinhuieric.huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
index 611fd10c3410..c6f2fb9557ff 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
@@ -621,7 +621,7 @@ static void amdgpu_gem_va_update_vm(struct amdgpu_device *adev,
if (operation == AMDGPU_VA_OP_MAP ||
operation == AMDGPU_VA_OP_REPLACE) {
- r = amdgpu_vm_bo_update(adev, bo_va, false);
+ r = amdgpu_vm_bo_update(adev, bo_va, false, NULL);
if (r)
goto error;
}