diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2024-12-09 21:52:48 +0300 |
---|---|---|
committer | Mario Limonciello <mario.limonciello@amd.com> | 2024-12-11 19:44:53 +0300 |
commit | 95fad7fb58cfaa2a295aa54a1f001a16b9324963 (patch) | |
tree | af1770ce5a2ff4faca17a248a416c45abf8c7e1c /tools/perf/scripts/python/task-analyzer.py | |
parent | f9a378ff6443cdcd4387e5dbb76fa5fa549a83ec (diff) | |
download | linux-95fad7fb58cfaa2a295aa54a1f001a16b9324963.tar.xz |
cpufreq/amd-pstate: Drop boost_state variable
Currently boost_state is cached for every processor in cpudata structure
and driver boost state is set for every processor.
Both of these aren't necessary as the driver only needs to set once and
the policy stores whether boost is enabled.
Move the driver boost setting to registration and adjust all references
to cached value to pull from the policy instead.
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Link: https://lore.kernel.org/r/20241209185248.16301-16-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