aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2022-03-17 13:29:22 +0000
committerAlex Deucher <[email protected]>2022-03-25 16:40:52 +0000
commit8f8cc3fb43508a2b1682e3809d6d39ce1871a5ee (patch)
tree06466efff2167fa9624c62ff555393532c61fb30 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/amdkfd: use tlb_seq from the VM subsystem for SVM as well v2 (diff)
downloadkernel-8f8cc3fb43508a2b1682e3809d6d39ce1871a5ee.tar.gz
kernel-8f8cc3fb43508a2b1682e3809d6d39ce1871a5ee.zip
drm/amdgpu: remove table_freed param from the VM code
Better to leave the decision when to flush the VM changes in the TLB to the VM code. Signed-off-by: Christian König <[email protected]> Reviewed-by: Philip Yang<[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
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 57b74d35052f..89c6d6f1d4fa 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, NULL);
+ r = amdgpu_vm_bo_update(adev, bo_va, false);
if (r)
goto error;
}