Skip to content

Commit 635f79b

Browse files
Shyam Sundar S Kjwrdegoede
authored andcommitted
platform/x86/amd/pmf: Fix to update SPS default pprof thermals
By design PMF static slider will be set to BALANCED during init, but updating to corresponding thermal values from the PMF config store was missed, leading to improper settings getting propagated to PMFW. Fixes: 4c71ae4 ("platform/x86/amd/pmf: Add support SPS PMF feature") Suggested-by: Patil Rajesh Reddy <[email protected]> Signed-off-by: Shyam Sundar S K <[email protected]> Reviewed-by: Mario Limonciello <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
1 parent 3dfe28c commit 635f79b

File tree

1 file changed

+3
-0
lines changed
  • drivers/platform/x86/amd/pmf

1 file changed

+3
-0
lines changed

drivers/platform/x86/amd/pmf/sps.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ int amd_pmf_init_sps(struct amd_pmf_dev *dev)
136136
dev->current_profile = PLATFORM_PROFILE_BALANCED;
137137
amd_pmf_load_defaults_sps(dev);
138138

139+
/* update SPS balanced power mode thermals */
140+
amd_pmf_set_sps_power_limits(dev);
141+
139142
dev->pprof.profile_get = amd_pmf_profile_get;
140143
dev->pprof.profile_set = amd_pmf_profile_set;
141144

0 commit comments

Comments
 (0)