aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h
diff options
context:
space:
mode:
authorPhilip Yang <Philip.Yang@amd.com>2023-02-09 18:23:16 -0500
committerAlex Deucher <alexander.deucher@amd.com>2023-06-09 09:55:47 -0400
commit75dda67c7213c3e0d17244a8c42547c27ee746f8 (patch)
tree4c57daa7f98b55b115f97e0068c6d8794749c08c /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h
parentac772a3c07cad66df46b2781f39121be211d383e (diff)
downloadlinux-75dda67c7213c3e0d17244a8c42547c27ee746f8.tar.gz
linux-75dda67c7213c3e0d17244a8c42547c27ee746f8.tar.bz2
linux-75dda67c7213c3e0d17244a8c42547c27ee746f8.zip
drm/amdkfd: Flush TLB after unmapping for GFX v9.4.3
kfd_flush_tlb_after_unmap should return true for GFX v9.4.3, to do TLB heavyweight flush after unmapping from GPU to guarantee that the GPU will not access pages after they have been unmapped. This also helps improve the mapping to GPU performance. Without this, KFD accidently flush TLB after mapping to GPU because the vm update sequence number is increased by previous unmapping. Signed-off-by: Philip Yang <Philip.Yang@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h')
0 files changed, 0 insertions, 0 deletions