]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/amd/powerplay: add msg map for mode1 reset
authorLikun Gao <Likun.Gao@amd.com>
Tue, 21 Jul 2020 05:13:39 +0000 (13:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Aug 2020 20:26:58 +0000 (16:26 -0400)
Mapping Mode1Reset message for sienna_cichlid.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/sienna_cichlid_ppt.c

index 59da3ca2a4cae2580d65ef7b048d528638e237be..f44fd33aeb93ebc110a65b16786a893c71406322 100644 (file)
@@ -121,6 +121,7 @@ static struct cmn2asic_msg_mapping sienna_cichlid_message_map[SMU_MSG_MAX_COUNT]
        MSG_MAP(PowerDownJpeg,                  PPSMC_MSG_PowerDownJpeg,               1),
        MSG_MAP(BacoAudioD3PME,                 PPSMC_MSG_BacoAudioD3PME,              1),
        MSG_MAP(ArmD3,                          PPSMC_MSG_ArmD3,                       1),
+       MSG_MAP(Mode1Reset,                     PPSMC_MSG_Mode1Reset,                  1),
 };
 
 static struct cmn2asic_mapping sienna_cichlid_clk_map[SMU_CLK_COUNT] = {