diff options
| author | Philip Yang <[email protected]> | 2021-05-13 16:30:48 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-05-20 02:37:50 +0000 |
| commit | 765385ec00a94382b509c75867e2a40fa599a26d (patch) | |
| tree | 5ef806368afec1be3ec3d53908787e92eb34b5ca /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | |
| parent | Revert "drm/amdkfd: flush TLB after updating GPU page table" (diff) | |
| download | kernel-765385ec00a94382b509c75867e2a40fa599a26d.tar.gz kernel-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 <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
0 files changed, 0 insertions, 0 deletions
