From: Yunxiang Li Date: Wed, 22 May 2024 15:00:08 +0000 (-0400) Subject: drm/amdgpu: remove tlb flush in amdgpu_gtt_mgr_recover X-Git-Tag: v6.11-rc1~141^2~18^2~156 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4b0e76e4c181a722d5a01eba56d5150db7cc9cd8;p=thirdparty%2Fkernel%2Flinux.git drm/amdgpu: remove tlb flush in amdgpu_gtt_mgr_recover At this point the gart is not set up, there's no point to invalidate tlb here and it could even be harmful. Signed-off-by: Yunxiang Li Reviewed-by: Christian König Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c index 44367f03316f6..0760e70402ec1 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c @@ -200,8 +200,6 @@ void amdgpu_gtt_mgr_recover(struct amdgpu_gtt_mgr *mgr) amdgpu_ttm_recover_gart(node->base.bo); } spin_unlock(&mgr->lock); - - amdgpu_gart_invalidate_tlb(adev); } /**