We only need to flush the HDP here, not invalidate the TLB.

Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
index 2d5c1aa7322a..7b1dae663bd0 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
@@ -857,7 +857,6 @@ int amdgpu_vm_update_directories(struct amdgpu_device *adev,
                /* 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 {
@@ -1455,7 +1454,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);
-- 
2.13.6

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to