drm/amdgpu: make the WREG32_SOC15_xx macro to support multi GC
authorShiwu Zhang <shiwu.zhang@amd.com>
Mon, 29 Nov 2021 12:44:05 +0000 (20:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:40:29 +0000 (09:40 -0400)
commit99951878b048e39278bb05d96831353eca23b75f
treee226e0317ad83bca1bdbc0fdb752d86b740c7c3d
parent98a54e88e87f7291d4bbc6ec646c498f64ae042f
drm/amdgpu: make the WREG32_SOC15_xx macro to support multi GC

To write regs on different GCDs, use the inst index.

Signed-off-by: Shiwu Zhang <shiwu.zhang@amd.com>
Reviewed-by: Le Ma <Le.Ma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15_common.h