]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit224924438fe8a4776eb86fe1e1a1ae43b5ad592f
tree5963dfccf6d4a85915346b721bfd06317b904cd7
parent713ddd5836aae9f230bb5156f94148ce7a8f8fe9
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