drm/amdgpu: Fix page table setup on Arcturus
authorMukul Joshi <mukul.joshi@amd.com>
Fri, 19 Aug 2022 21:15:08 +0000 (17:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Aug 2022 17:35:17 +0000 (13:35 -0400)
commitf47f9b2e9c7b6a208558f2cfa60b4945db1be69e
treec0266b87b899ec8a53c3ea30579660821c3fa5be
parent16f0013157bf8c95d10b9360491e3c920f85641e
drm/amdgpu: Fix page table setup on Arcturus

When translate_further is enabled, page table depth needs to
be updated. This was missing on Arcturus MMHUB init. This was
causing address translations to fail for SDMA user-mode queues.

Fixes: 352e683b72e7 ("drm/amdgpu: Enable translate_further to extend UTCL2 reach")
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c