summaryrefslogtreecommitdiff
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-07-28 16:37:17 -0400
commite9949dd79182a29410379dfebea8870f6abfa6e7 (patch)
treeb099f76fdc8df4706baa276cd0f04c0e708f7be2 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentf87534347a5dd9c5860f947f6402c2dee45de2fd (diff)
downloadlinux-e9949dd79182a29410379dfebea8870f6abfa6e7.tar.gz
linux-e9949dd79182a29410379dfebea8870f6abfa6e7.tar.bz2
linux-e9949dd79182a29410379dfebea8870f6abfa6e7.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 d0d9bc445d7b..b3404c43a911 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
@@ -612,7 +612,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;
}