drm/amdgpu: Derive active clusters from SDMA
authorLijo Lazar <lijo.lazar@amd.com>
Mon, 28 Nov 2022 05:47:15 +0000 (11:17 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:50:06 +0000 (09:50 -0400)
commitbbca579fd2ea8cbc170df33587f8a4b572a4f025
treee0a11bd8acb88ef5bf0fb0cd9476617c783f09f7
parentdc6df2095deaaefe38a94d62a51b0d07c0794eaf
drm/amdgpu: Derive active clusters from SDMA

SDMA instances per active cluster and SDMA instance mask are used
to find the number of active clusters.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/aqua_vanjaram_reg_init.c