diff options
author | 2024-12-04 14:48:41 +0000 | |
---|---|---|
committer | 2024-12-11 10:44:52 -0600 | |
commit | b78f8c87ec3e7499bb049986838636d3afbc7ece (patch) | |
tree | e6823ab8eaab3d1c75fa2581186006e3a287c0dd /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | cpufreq/amd-pstate: Refactor amd_pstate_epp_reenable() and amd_pstate_epp_offline() (diff) | |
download | wireguard-linux-b78f8c87ec3e7499bb049986838636d3afbc7ece.tar.xz wireguard-linux-b78f8c87ec3e7499bb049986838636d3afbc7ece.zip |
cpufreq/amd-pstate: Remove the cppc_state check in offline/online functions
Only amd_pstate_epp driver (i.e. cppc_state = ACTIVE) enters the
amd_pstate_epp_offline() and amd_pstate_epp_cpu_online() functions,
so remove the unnecessary if condition checking if cppc_state is
equal to AMD_PSTATE_ACTIVE.
Signed-off-by: Dhananjay Ugwekar <Dhananjay.Ugwekar@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Link: https://lore.kernel.org/r/20241204144842.164178-5-Dhananjay.Ugwekar@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions