diff options
author | Eric Huang <JinhuiEric.Huang@amd.com> | 2021-07-09 21:59:20 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-07-13 18:59:41 +0300 |
commit | 5adcd7458a78120dddec6b53c9619acd8f4d5931 (patch) | |
tree | 4221c3f17e5dc0a232ebae95cd24030b70b0ff8a /drivers | |
parent | d605094394ee35afd22f8adbe4a4b7b5f0c143a2 (diff) | |
download | linux-5adcd7458a78120dddec6b53c9619acd8f4d5931.tar.xz |
Revert "drm/amdkfd: Add heavy-weight TLB flush after unmapping"
This reverts commit 1098d658bef05e5fee634aab0b6a1fa590cfca24.
Reason for revert: it causes regressions on several Asics.
Signed-off-by: Eric Huang <jinhuieric.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c index 84894cd81ced..e48acdd03c1a 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c @@ -1563,7 +1563,6 @@ static int kfd_ioctl_unmap_memory_from_gpu(struct file *filep, i, args->n_devices); goto unmap_memory_from_gpu_failed; } - kfd_flush_tlb(peer_pdd, TLB_FLUSH_HEAVYWEIGHT); args->n_success = i+1; } kfree(devices_arr); |