Revert "drm/amdkfd: flush TLB after updating GPU page table"

This reverts commit 1704ac8e43.

After "drm/amdgpu: flush TLB if valid PDE turns into PTE" is checked
in, this workaround is not needed.

Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Philip Yang 2021-05-13 12:16:01 -04:00 committed by Alex Deucher
parent 5228cd6574
commit 7a3ae1e249

View File

@ -1241,9 +1241,6 @@ static int svm_range_map_to_gpus(struct svm_range *prange,
break;
}
}
amdgpu_amdkfd_flush_gpu_tlb_pasid((struct kgd_dev *)adev,
p->pasid);
}
return r;