drm/amdgpu: always flush the TLB on gfx8
authorChristian König <christian.koenig@amd.com>
Fri, 3 Jun 2022 13:05:04 +0000 (15:05 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 8 Jun 2022 15:24:13 +0000 (11:24 -0400)
commit84205d00934394076552e2f597cf04a835df3364
tree627993636be98c2eddb0ef462d7b457f5efdd6a8
parent1d2afeb7983081ecf656c2338c7db6fd405c653c
drm/amdgpu: always flush the TLB on gfx8

The TLB on GFX8 stores each block of 8 PTEs where any of the valid bits
are set.

Fixes: 5255e146c99a ("drm/amdgpu: rework TLB flushing")
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Tested-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-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