diff options
author | Zhang Rui <rui.zhang@intel.com> | 2021-03-11 03:05:13 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2021-05-05 00:23:14 +0200 |
commit | abdc75ab53b7fd2ef42c79e88cf0caf2d007c4f2 (patch) | |
tree | 7db7d93d631a23d594b1c5856e5feb5388f7cd49 /tools/power | |
parent | Revert "tools/power turbostat: adjust for temperature offset" (diff) | |
download | linux-abdc75ab53b7fd2ef42c79e88cf0caf2d007c4f2.tar.xz linux-abdc75ab53b7fd2ef42c79e88cf0caf2d007c4f2.zip |
tools/power turbostat: Fix DRAM Energy Unit on SKX
SKX uses fixed DRAM Energy Unit, just like HSX and BDX.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/power')
-rw-r--r-- | tools/power/x86/turbostat/turbostat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c index 98a0a731da8a..5afe85efca5c 100644 --- a/tools/power/x86/turbostat/turbostat.c +++ b/tools/power/x86/turbostat/turbostat.c @@ -4272,6 +4272,7 @@ rapl_dram_energy_units_probe(int model, double rapl_energy_units) switch (model) { case INTEL_FAM6_HASWELL_X: /* HSX */ case INTEL_FAM6_BROADWELL_X: /* BDX */ + case INTEL_FAM6_SKYLAKE_X: /* SKX */ case INTEL_FAM6_XEON_PHI_KNL: /* KNL */ return (rapl_dram_energy_units = 15.3 / 1000000); default: |