Commit 2734fdbc authored by Len Brown's avatar Len Brown
Browse files

tools/power x86_energy_perf_policy: Prefer driver HWP limits



When we are successful in using cpufreq min/max limits,
skip setting the raw MSR limits entirely.

This is necessary to avoid undoing any modification that
the cpufreq driver makes to our sysfs request.

eg. intel_pstate may take our request for a limit
that is valid according to HWP.CAP.MIN/MAX and clip
it to be within the range available in PLATFORM_INFO.

Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent f8241f54
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment