diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2024-12-09 21:52:43 +0300 |
---|---|---|
committer | Mario Limonciello <mario.limonciello@amd.com> | 2024-12-11 19:44:53 +0300 |
commit | 3f7b835fa4d0d06f82249a3aca989fdf9bdf4656 (patch) | |
tree | 43d9f8cf1fb26e4c427ee543466735b63a15f683 /tools/perf/scripts/python/task-analyzer.py | |
parent | 942718f2a236cb3b27d2dbb5942538681b6e0e88 (diff) | |
download | linux-3f7b835fa4d0d06f82249a3aca989fdf9bdf4656.tar.xz |
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 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions