]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Flush TLB after mapping for VG20+XGMI
authorPhilip Yang <Philip.Yang@amd.com>
Fri, 1 Apr 2022 19:30:12 +0000 (15:30 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Apr 2022 14:29:47 +0000 (10:29 -0400)
commit8e30c550a1e419efdc5d1d48989228a9a48ea00e
tree0877788955c2d8801fa3bcf6fdf1157793785a5a
parentca2f97056e6c5abe17ab7c5efdfa8156edd09b33
drm/amdgpu: Flush TLB after mapping for VG20+XGMI

For VG20 + XGMI bridge, all mappings PTEs cache in TC, this may have
stall invalid PTEs in TC because one cache line has 8 pages. Need always
flush_tlb after updating mapping.

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c