Skip to content

Commit 0d2dd02

Browse files
Evan Quanalexdeucher
authored andcommitted
drm/amd/pm: add missing NotifyPowerSource message mapping for SMU13.0.7
Otherwise, the power source switching will fail due to message unavailable. Fixes: bf48232 ("drm/amd/pm: fix possible power mode mismatch between driver and PMFW") Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Guchun Chen <guchun.chen@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
1 parent a34fc1b commit 0d2dd02

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ static struct cmn2asic_msg_mapping smu_v13_0_7_message_map[SMU_MSG_MAX_COUNT] =
125125
MSG_MAP(ArmD3, PPSMC_MSG_ArmD3, 0),
126126
MSG_MAP(AllowGpo, PPSMC_MSG_SetGpoAllow, 0),
127127
MSG_MAP(GetPptLimit, PPSMC_MSG_GetPptLimit, 0),
128+
MSG_MAP(NotifyPowerSource, PPSMC_MSG_NotifyPowerSource, 0),
128129
};
129130

130131
static struct cmn2asic_mapping smu_v13_0_7_clk_map[SMU_CLK_COUNT] = {

0 commit comments

Comments
 (0)