diff options
author | 2024-12-09 12:52:43 -0600 | |
---|---|---|
committer | 2024-12-11 10:44:53 -0600 | |
commit | 3f7b835fa4d0d06f82249a3aca989fdf9bdf4656 (patch) | |
tree | 43d9f8cf1fb26e4c427ee543466735b63a15f683 /scripts/gdb/linux/utils.py | |
parent | cpufreq/amd-pstate: Change amd_pstate_update_perf() to return an int (diff) | |
download | wireguard-linux-3f7b835fa4d0d06f82249a3aca989fdf9bdf4656.tar.xz wireguard-linux-3f7b835fa4d0d06f82249a3aca989fdf9bdf4656.zip |
cpufreq/amd-pstate: Move limit updating code
The limit updating code in amd_pstate_epp_update_limit() should not
only apply to EPP updates. Move it to amd_pstate_update_min_max_limit()
so other callers can benefit as well.
With this move it's not necessary to have clamp_t calls anymore because
the verify callback is called when setting limits.
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Link: https://lore.kernel.org/r/20241209185248.16301-11-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