drm/amdgpu: Fix GRBM programming sequence
authorLijo Lazar <lijo.lazar@amd.com>
Wed, 6 Jul 2022 08:20:45 +0000 (13:50 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:45:54 +0000 (09:45 -0400)
commit7aa8a266aaa25e9e2f85d9d2d594cdff6b5635f2
tree51c0d952a648e491e02ff79157f16bb8a61f5be0
parentf8b34a0518701bae8bb02fabe129f01b1dc33336
drm/amdgpu: Fix GRBM programming sequence

It needs to be done only for XCC instances in non-AID0. Use the physical
instance to determine non-AID0 XCC instances.

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