mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 03:40:04 +00:00
drm/amd/pm: lower Raven UMD Stable Pstate VCN values
SMU FCLK,SOCCLK have dependency on VCN CLKs. Lower VCN values so that FCLK, SOCCLK reflect values set by UMD Stable Pstate. Signed-off-by: Evan Quan <evan.quan@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
1653a179c8
commit
abf6b7c78e
2 changed files with 3 additions and 2 deletions
|
@ -648,7 +648,7 @@ static int smu10_dpm_force_dpm_level(struct pp_hwmgr *hwmgr,
|
|||
NULL);
|
||||
smum_send_msg_to_smc_with_parameter(hwmgr,
|
||||
PPSMC_MSG_SetHardMinVcn,
|
||||
SMU10_UMD_PSTATE_VCE,
|
||||
SMU10_UMD_PSTATE_PROFILE_VCE,
|
||||
NULL);
|
||||
|
||||
smum_send_msg_to_smc_with_parameter(hwmgr,
|
||||
|
@ -665,7 +665,7 @@ static int smu10_dpm_force_dpm_level(struct pp_hwmgr *hwmgr,
|
|||
NULL);
|
||||
smum_send_msg_to_smc_with_parameter(hwmgr,
|
||||
PPSMC_MSG_SetSoftMaxVcn,
|
||||
SMU10_UMD_PSTATE_VCE,
|
||||
SMU10_UMD_PSTATE_PROFILE_VCE,
|
||||
NULL);
|
||||
break;
|
||||
case AMD_DPM_FORCED_LEVEL_AUTO:
|
||||
|
|
|
@ -310,6 +310,7 @@ int smu10_init_function_pointers(struct pp_hwmgr *hwmgr);
|
|||
#define SMU10_UMD_PSTATE_SOCCLK 626
|
||||
#define SMU10_UMD_PSTATE_FCLK 933
|
||||
#define SMU10_UMD_PSTATE_VCE 0x03C00320
|
||||
#define SMU10_UMD_PSTATE_PROFILE_VCE 0x02AD0229
|
||||
|
||||
#define SMU10_UMD_PSTATE_PEAK_SOCCLK 757
|
||||
#define SMU10_UMD_PSTATE_PEAK_FCLK 1200
|
||||
|
|
Loading…
Reference in a new issue