drm/amd/pm: add missing AllowIHInterrupt message mapping for SMU13.0.0
authorEvan Quan <evan.quan@amd.com>
Fri, 20 Jan 2023 03:21:53 +0000 (11:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 25 Jan 2023 18:45:39 +0000 (13:45 -0500)
Add SMU13.0.0 AllowIHInterrupt message mapping.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.1.x
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c

index 4c20d17e7416ee42e553e19f956b6145b18fb696..cf96c3f2affe4c807dec8a30cb6c5b20a9d4e67e 100644 (file)
@@ -145,6 +145,7 @@ static struct cmn2asic_msg_mapping smu_v13_0_0_message_map[SMU_MSG_MAX_COUNT] =
        MSG_MAP(SetBadMemoryPagesRetiredFlagsPerChannel,
                            PPSMC_MSG_SetBadMemoryPagesRetiredFlagsPerChannel,   0),
        MSG_MAP(AllowGpo,                       PPSMC_MSG_SetGpoAllow,           0),
+       MSG_MAP(AllowIHHostInterrupt,           PPSMC_MSG_AllowIHHostInterrupt,       0),
 };
 
 static struct cmn2asic_mapping smu_v13_0_0_clk_map[SMU_CLK_COUNT] = {