diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2024-10-12 12:45:18 -0500 |
---|---|---|
committer | Mario Limonciello <mario.limonciello@amd.com> | 2024-10-28 14:54:35 -0500 |
commit | 047a2d0c83a425e83aa58b43c2557c42fdd0af29 (patch) | |
tree | cb6b1f602472ac2fb123dfb723f1e43b23432612 /scripts/gdb/linux/utils.py | |
parent | 67c08d303e0a1a5665b3f198037c9fae2d808090 (diff) |
cpufreq/amd-pstate: Use amd_pstate_update_min_max_limit() for EPP limits
When the EPP updates are set the maximum capable frequency for the
CPU is used to set the upper limit instead of that of the policy.
Adjust amd_pstate_epp_update_limit() to reuse policy calculation code
from amd_pstate_update_min_max_limit().
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Reviewed-by: Perry Yuan <perry.yuan@amd.com>
Tested-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Link: https://lore.kernel.org/r/20241012174519.897-3-mario.limonciello@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions