]> Git Repo - linux.git/commitdiff
drm/amdgpu: program GRBM_MCM_ADDR for non-AID0 GRBM
authorLe Ma <[email protected]>
Wed, 20 Apr 2022 15:25:48 +0000 (23:25 +0800)
committerAlex Deucher <[email protected]>
Fri, 9 Jun 2023 13:43:59 +0000 (09:43 -0400)
Otherwise the EOP interrupt on non-AID0 cannot route to IH0.

Signed-off-by: Le Ma <[email protected]>
Acked-by: Felix Kuehling <[email protected]>
Reviewed-by: Lijo Lazar <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c

index 1dcb69b4816f9e7abc0684d28752364fa9ebbdce..a9fab8de29e89d683ad6fe6bc42571d1db1bb412 100644 (file)
@@ -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)
 {
+       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,
This page took 0.07449 seconds and 4 git commands to generate.