]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/amdgpu: remove tlb flush in amdgpu_gtt_mgr_recover
authorYunxiang Li <Yunxiang.Li@amd.com>
Wed, 22 May 2024 15:00:08 +0000 (11:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jun 2024 20:15:58 +0000 (16:15 -0400)
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 <Yunxiang.Li@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_gtt_mgr.c

index 44367f03316f6ae39c73d3e7e5523685acfc8660..0760e70402ec19c119c024e557c2fe4553166528 100644 (file)
@@ -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);
 }
 
 /**