]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpupower: Don't fetch maximum latency when EPP is enabled
authorMario Limonciello <mario.limonciello@amd.com>
Wed, 18 Dec 2024 19:09:55 +0000 (13:09 -0600)
committerShuah Khan <skhan@linuxfoundation.org>
Fri, 20 Dec 2024 16:12:07 +0000 (09:12 -0700)
commitacf71265e4c0289e23ee1b66fc0977478edea9a5
treecf31f70d42328baa21ff41d53ba10805ea53bfcb
parent5f567afc283fc9e7c6a34d013c4fc6c5e8d6afae
cpupower: Don't fetch maximum latency when EPP is enabled

When EPP has been enabled the hardware will autonomously change
frequencies on it's own and thus there is no latency with changing
from the kernel.

Avoid doing the maximum latency check when EPP is found. This will
apply to both amd-pstate and intel-pstate drivers.

Link: https://lore.kernel.org/r/20241218191144.3440854-7-superm1@kernel.org
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/power/cpupower/utils/cpufreq-info.c