Commit 36be0181 authored by Le Ma's avatar Le Ma Committed by Alex Deucher

drm/amdgpu: program GRBM_MCM_ADDR for non-AID0 GRBM

Otherwise the EOP interrupt on non-AID0 cannot route to IH0.
Signed-off-by: default avatarLe Ma <le.ma@amd.com>
Acked-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: default avatarLijo Lazar <lijo.lazar@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent feb36dd0
...@@ -184,7 +184,10 @@ static void gfx_v9_4_3_set_kiq_pm4_funcs(struct amdgpu_device *adev) ...@@ -184,7 +184,10 @@ static void gfx_v9_4_3_set_kiq_pm4_funcs(struct amdgpu_device *adev)
static void gfx_v9_4_3_init_golden_registers(struct amdgpu_device *adev) static void gfx_v9_4_3_init_golden_registers(struct amdgpu_device *adev)
{ {
int i;
for (i = 2; i < adev->gfx.num_xcd; i++)
WREG32_SOC15(GC, i, regGRBM_MCM_ADDR, 0x4);
} }
static void gfx_v9_4_3_write_data_to_reg(struct amdgpu_ring *ring, int eng_sel, static void gfx_v9_4_3_write_data_to_reg(struct amdgpu_ring *ring, int eng_sel,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment