OSDN Git Service

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:53:58 +0000 (13:53 -0400)
commit894c9c540f8315007a4752320e2399bc2e0c46b7
tree5e6518a9fbec7467c6634427a3c7b46675fa24f8
parentda1acbb12b33cbc651d8a7e956d254f1acc5034f
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