Revert "drm/amdkfd: Add heavy-weight TLB flush after unmapping"

This reverts commit 1098d658be.

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>
This commit is contained in:
Eric Huang 2021-07-09 14:59:20 -04:00 committed by Alex Deucher
parent d605094394
commit 5adcd7458a

View file

@ -1563,7 +1563,6 @@ static int kfd_ioctl_unmap_memory_from_gpu(struct file *filep,
i, args->n_devices); i, args->n_devices);
goto unmap_memory_from_gpu_failed; goto unmap_memory_from_gpu_failed;
} }
kfd_flush_tlb(peer_pdd, TLB_FLUSH_HEAVYWEIGHT);
args->n_success = i+1; args->n_success = i+1;
} }
kfree(devices_arr); kfree(devices_arr);