diff options
author | Len Brown <len.brown@intel.com> | 2017-05-02 05:06:08 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2017-05-12 03:27:53 +0200 |
commit | 3cedbc5a6d7f7c5539e139f89ec9f6e1ed668418 (patch) | |
tree | a00534027c4ac7a238791527a0a9ccc810ab87e9 /tools | |
parent | tools/power x86_energy_perf_policy: support HWP.EPP (diff) | |
download | linux-3cedbc5a6d7f7c5539e139f89ec9f6e1ed668418.tar.xz linux-3cedbc5a6d7f7c5539e139f89ec9f6e1ed668418.zip |
intel_pstate: use updated msr-index.h HWP.EPP values
intel_pstate exports sysfs attributes for setting and observing HWP.EPP.
These attributes use strings to describe 4 operating states, and
inside the driver, these strings are mapped to numerical register
values.
The authorative mapping between the strings and numerical HWP.EPP values
are now globally defined in msr-index.h, replacing the out-dated
mapping that were open-coded into intel_pstate.c
new old string
--- --- ------
0 0 performance
128 64 balance_performance
192 128 balance_power
255 192 power
Note that the HW and BIOS default value on most system is 128,
which intel_pstate will now call "balance_performance"
while it used to call it "balance_power".
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions