Skip to content

Commit f875343

Browse files
erichuang22alexdeucher
authored andcommitted
Revert "Revert "drm/amdkfd: Add heavy-weight TLB flush after unmapping""
This reverts commit 430f8e6. Revert reason: Issue has been resolved. Signed-off-by: Eric Huang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 1df272a commit f875343

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/amd/amdkfd/kfd_chardev.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1563,6 +1563,7 @@ static int kfd_ioctl_unmap_memory_from_gpu(struct file *filep,
15631563
i, args->n_devices);
15641564
goto unmap_memory_from_gpu_failed;
15651565
}
1566+
kfd_flush_tlb(peer_pdd, TLB_FLUSH_HEAVYWEIGHT);
15661567
args->n_success = i+1;
15671568
}
15681569
kfree(devices_arr);

0 commit comments

Comments
 (0)