From 18e196b074ff45f1303ef498b6de9367e3cad157 Mon Sep 17 00:00:00 2001 From: Rui Teng Date: Wed, 24 Aug 2022 10:41:27 +0800 Subject: [PATCH] Revert "drm/amdgpu: Enable translate_further to extend UTCL2 reach" This reverts commit 2abf2573b1c69b7741294469fc36683fece7fdc9. It caused the regression issue of SWDEV-353177. Signed-off-by: Rui Teng --- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c index 1fca5d7dbd246..4f4aaed3a0974 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c @@ -1619,15 +1619,12 @@ static int gmc_v9_0_sw_init(void *handle) amdgpu_vm_adjust_size(adev, 256 * 1024, 9, 3, 47); else amdgpu_vm_adjust_size(adev, 256 * 1024, 9, 3, 48); - if (adev->ip_versions[GC_HWIP][0] == IP_VERSION(9, 4, 2)) - adev->gmc.translate_further = adev->vm_manager.num_level > 1; break; case IP_VERSION(9, 4, 1): adev->num_vmhubs = 3; /* Keep the vm size same with Vega20 */ amdgpu_vm_adjust_size(adev, 256 * 1024, 9, 3, 48); - adev->gmc.translate_further = adev->vm_manager.num_level > 1; break; default: break;