summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2018-01-05 10:33:48 -0500
committerAlex Deucher <alexander.deucher@amd.com>2018-02-19 14:17:14 -0500
commit64b9342f31363eee93d0d3e1fa87622fe2929732 (patch)
tree5499101c7ee524417062f6adcc3f6fc3169c3001 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parentb1d128689f9c602a3dbea37b47a27a568d55754d (diff)
downloadop-kernel-dev-64b9342f31363eee93d0d3e1fa87622fe2929732.zip
op-kernel-dev-64b9342f31363eee93d0d3e1fa87622fe2929732.tar.gz
drm/amdgpu: drop extra tlb invalidation in gpuvm
We only need to flush the HDP here, not invalidate the TLB. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
index df0f997..114571f 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
@@ -857,7 +857,6 @@ restart:
/* Flush HDP */
mb();
amdgpu_asic_flush_hdp(adev);
- amdgpu_gart_flush_gpu_tlb(adev, 0);
} else if (params.ib->length_dw == 0) {
amdgpu_job_free(job);
} else {
@@ -1459,7 +1458,6 @@ int amdgpu_vm_bo_update(struct amdgpu_device *adev,
/* Flush HDP */
mb();
amdgpu_asic_flush_hdp(adev);
- amdgpu_gart_flush_gpu_tlb(adev, 0);
}
spin_lock(&vm->status_lock);
OpenPOWER on IntegriCloud