drm/amdgpu: Fix channel_index table layout for Aldebaran
authorMukul Joshi <mukul.joshi@amd.com>
Fri, 23 Jul 2021 20:07:40 +0000 (16:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Aug 2021 01:17:58 +0000 (21:17 -0400)
commit719e433ed0521708f5326e424298a2eb49f59d2e
tree5963dfccf6d4a85915346b721bfd06317b904cd7
parent8d70136e2dc76f085b7423b993e13527f5a1fd7e
drm/amdgpu: Fix channel_index table layout for Aldebaran

Fix the channel_index table layout to fetch the correct
channel_index when calculating physical address from
normalized address during page retirement.
Also, fix the number of UMC instances and number of channels
within each UMC instance for Aldebaran.

Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-By: John Clements <john.clements@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
drivers/gpu/drm/amd/amdgpu/umc_v6_7.c
drivers/gpu/drm/amd/amdgpu/umc_v6_7.h