From: Feifei Xu <[email protected]>

Add GFX12.1 MEC P2/P3 STACK firmware init.

Signed-off-by: Feifei Xu <[email protected]>
Reviewed-by: Lijo Lazar <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
---
 drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c 
b/drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
index f5a7ccf9e02d5..c7f331f74b9b8 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
@@ -416,6 +416,8 @@ static int gfx_v12_1_init_microcode(struct amdgpu_device 
*adev)
        amdgpu_gfx_cp_init_microcode(adev, AMDGPU_UCODE_ID_CP_RS64_MEC);
        amdgpu_gfx_cp_init_microcode(adev, 
AMDGPU_UCODE_ID_CP_RS64_MEC_P0_STACK);
        amdgpu_gfx_cp_init_microcode(adev, 
AMDGPU_UCODE_ID_CP_RS64_MEC_P1_STACK);
+       amdgpu_gfx_cp_init_microcode(adev, 
AMDGPU_UCODE_ID_CP_RS64_MEC_P2_STACK);
+       amdgpu_gfx_cp_init_microcode(adev, 
AMDGPU_UCODE_ID_CP_RS64_MEC_P3_STACK);
 
        if (adev->firmware.load_type == AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO)
                err = gfx_v12_1_init_toc_microcode(adev, ucode_prefix);
-- 
2.52.0

Reply via email to