mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 04:29:11 -04:00
drm/amd/pm: Rename pmfw message SetPstatePolicy
Rename pmfw message SelectPstatePolicy to SetThrottlingPolicy as per pmfw interface header for smu_v_13_0_6 Signed-off-by: Asad Kamal <asad.kamal@amd.com> Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Yang Wang <kevinyang.wang@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -92,7 +92,7 @@
|
||||
#define PPSMC_MSG_McaBankCeDumpDW 0x3B
|
||||
#define PPSMC_MSG_SelectPLPDMode 0x40
|
||||
#define PPSMC_MSG_RmaDueToBadPageThreshold 0x43
|
||||
#define PPSMC_MSG_SelectPstatePolicy 0x44
|
||||
#define PPSMC_MSG_SetThrottlingPolicy 0x44
|
||||
#define PPSMC_MSG_ResetSDMA 0x4D
|
||||
#define PPSMC_Message_Count 0x4E
|
||||
|
||||
|
||||
@@ -273,7 +273,7 @@
|
||||
__SMU_DUMMY_MAP(GetMetricsVersion), \
|
||||
__SMU_DUMMY_MAP(EnableUCLKShadow), \
|
||||
__SMU_DUMMY_MAP(RmaDueToBadPageThreshold), \
|
||||
__SMU_DUMMY_MAP(SelectPstatePolicy), \
|
||||
__SMU_DUMMY_MAP(SetThrottlingPolicy), \
|
||||
__SMU_DUMMY_MAP(MALLPowerController), \
|
||||
__SMU_DUMMY_MAP(MALLPowerState), \
|
||||
__SMU_DUMMY_MAP(ResetSDMA),
|
||||
|
||||
@@ -192,7 +192,7 @@ static const struct cmn2asic_msg_mapping smu_v13_0_6_message_map[SMU_MSG_MAX_COU
|
||||
MSG_MAP(McaBankCeDumpDW, PPSMC_MSG_McaBankCeDumpDW, SMU_MSG_RAS_PRI),
|
||||
MSG_MAP(SelectPLPDMode, PPSMC_MSG_SelectPLPDMode, 0),
|
||||
MSG_MAP(RmaDueToBadPageThreshold, PPSMC_MSG_RmaDueToBadPageThreshold, 0),
|
||||
MSG_MAP(SelectPstatePolicy, PPSMC_MSG_SelectPstatePolicy, 0),
|
||||
MSG_MAP(SetThrottlingPolicy, PPSMC_MSG_SetThrottlingPolicy, 0),
|
||||
MSG_MAP(ResetSDMA, PPSMC_MSG_ResetSDMA, 0),
|
||||
};
|
||||
|
||||
@@ -584,7 +584,7 @@ static int smu_v13_0_6_select_policy_soc_pstate(struct smu_context *smu,
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SelectPstatePolicy,
|
||||
ret = smu_cmn_send_smc_msg_with_param(smu, SMU_MSG_SetThrottlingPolicy,
|
||||
param, NULL);
|
||||
|
||||
if (ret)
|
||||
|
||||
Reference in New Issue
Block a user