summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
diff options
context:
space:
mode:
authorPhilip Yang <Philip.Yang@amd.com>2022-06-01 19:02:45 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-06-03 16:27:17 -0400
commit4d1e5f12b7a0d2ade73003d2522a23b4559c7e02 (patch)
tree52d28682b81fd6f2dc9f27af85b7294c4045ca23 /drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
parent371017309a9f1725bfd3283afe61efa4ac34d30c (diff)
drm/amdgpu: Update PDEs flush TLB if PTB/PDB moved
Flush TLBs when existing PDEs are updated because a PTB or PDB moved, but avoids unnecessary TLB flushes when new PDBs or PTBs are added to the page table, which commonly happens when memory is mapped for the first time. Suggested-by: Christian König <christian.koenig@amd.com> Signed-off-by: Philip Yang <Philip.Yang@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_amdkfd_gpuvm.c')
0 files changed, 0 insertions, 0 deletions