Commit 4a134261 authored by Eric Huang's avatar Eric Huang Committed by Alex Deucher

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

This reverts commit 430f8e6e.

Revert reason: Issue has been resolved.
Signed-off-by: default avatarEric Huang <jinhuieric.huang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent de598650
...@@ -1563,6 +1563,7 @@ static int kfd_ioctl_unmap_memory_from_gpu(struct file *filep, ...@@ -1563,6 +1563,7 @@ 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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment