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:44:25 +0000 (11:44 -0400)
commit64f6516e60b0bbe6abfc9f1d9f1999012e0f11a6
tree8c8b59c9340428b5ca12dcee6e6c744bedc0f4f2
parent250195ff744f260c169f5427422b6f39c58cb883
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