drm/amdkfd: Use instance table for GFX 9.4.3
authorMukul Joshi <mukul.joshi@amd.com>
Tue, 13 Sep 2022 19:13:18 +0000 (15:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:46:51 +0000 (09:46 -0400)
commit02ee3b02d77661c593c7b0e49f5baa4aa0974024
treecee60efbbb1ecf8284f4ffaba38aae447feecd55
parenta058799923af7984552c6c07d6bbb088c1537e6a
drm/amdkfd: Use instance table for GFX 9.4.3

For GFX 9.4.3, use the logical to physical mapping table,
to get the correct XCD instance when accessing registers on
bare metal.

Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Amber Lin <Amber.Lin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gc_9_4_3.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c