Skip to content

Commit

Permalink
Revert "drm/amdgpu: Enable translate_further to extend UTCL2 reach"
Browse files Browse the repository at this point in the history
This reverts commit 2abf257.
It caused the regression issue of SWDEV-353177.

Signed-off-by: Rui Teng <rui.teng@amd.com>
  • Loading branch information
Rui Teng authored and Rui Teng committed Aug 24, 2022
1 parent 6e6369e commit 18e196b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 18e196b

Please sign in to comment.