summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2019-03-20 00:09:07 +0100
committerLen Brown <len.brown@intel.com>2019-03-21 03:55:44 +0100
commit937807d355a375393557674e3233662a7131c46b (patch)
treec245c18736cf14a491e2ede4e3035b40b3fd7ebe /tools
parenttools/power turbostat: Cleanup CNL-specific code (diff)
downloadlinux-937807d355a375393557674e3233662a7131c46b.tar.xz
linux-937807d355a375393557674e3233662a7131c46b.zip
tools/power turbostat: Add Icelake support
From a turbostat point of view, Iceland is like Cannonlake. Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/power/x86/turbostat/turbostat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index f2384ee98cdc..4f81b52aef84 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -4449,6 +4449,9 @@ unsigned int intel_model_duplicates(unsigned int model)
case INTEL_FAM6_KABYLAKE_MOBILE:
case INTEL_FAM6_KABYLAKE_DESKTOP:
return INTEL_FAM6_SKYLAKE_MOBILE;
+
+ case INTEL_FAM6_ICELAKE_MOBILE:
+ return INTEL_FAM6_CANNONLAKE_MOBILE;
}
return model;
}