summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
diff options
context:
space:
mode:
authorYunxiang Li <Yunxiang.Li@amd.com>2024-05-22 11:00:08 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-06-14 16:15:58 -0400
commit4b0e76e4c181a722d5a01eba56d5150db7cc9cd8 (patch)
tree638ef5441ac5dbeeb7a50aa46b99ec1c39018177 /drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
parent1802b042a343c1705e5ef45b93d1fd088344d3c2 (diff)
downloadlinux-4b0e76e4c181a722d5a01eba56d5150db7cc9cd8.tar.gz
linux-4b0e76e4c181a722d5a01eba56d5150db7cc9cd8.tar.bz2
linux-4b0e76e4c181a722d5a01eba56d5150db7cc9cd8.zip
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 <Yunxiang.Li@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
index 44367f03316f..0760e70402ec 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);
}
/**