Explorar el Código

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>
Alex Deucher hace 7 años
padre
commit
64b9342f31
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  1. 0 2
      drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c

+ 0 - 2
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);