diff options
author | 2021-05-13 12:30:48 -0400 | |
---|---|---|
committer | 2021-05-19 22:37:50 -0400 | |
commit | 765385ec00a94382b509c75867e2a40fa599a26d (patch) | |
tree | 5ef806368afec1be3ec3d53908787e92eb34b5ca /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | |
parent | Revert "drm/amdkfd: flush TLB after updating GPU page table" (diff) | |
download | wireguard-linux-765385ec00a94382b509c75867e2a40fa599a26d.tar.xz wireguard-linux-765385ec00a94382b509c75867e2a40fa599a26d.zip |
drm/amdkfd: heavy-weight flush TLB after unmap
Need do a heavy-weight TLB flush to make sure we have no more dirty data
in the cache for the unmapped pages.
Define enum TLB_FLUSH_TYPE, add flush_type parameter to
amdgpu_amdkfd_flush_gpu_tlb_pasid.
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h')
0 files changed, 0 insertions, 0 deletions