[1/2] turbostat: add support for TigerLake
diff mbox series

Message ID 20191219142903.9971-1-yu.c.chen@intel.com
State Accepted, archived
Delegated to: Len Brown
Headers show
Series
  • Add turbostat support for two platforms
Related show

Commit Message

Chen Yu Dec. 19, 2019, 2:29 p.m. UTC
TigerLake succeed IceLake, thus reuse the code of IceLake.

Signed-off-by: Chen Yu <yu.c.chen@intel.com>
---
 tools/power/x86/turbostat/turbostat.c | 2 ++
 1 file changed, 2 insertions(+)

Patch
diff mbox series

diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index 5d0fddda842c..520cd486e5a4 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -4614,6 +4614,8 @@  unsigned int intel_model_duplicates(unsigned int model)
 
 	case INTEL_FAM6_ICELAKE_L:
 	case INTEL_FAM6_ICELAKE_NNPI:
+	case INTEL_FAM6_TIGERLAKE_L:
+	case INTEL_FAM6_TIGERLAKE:
 		return INTEL_FAM6_CANNONLAKE_L;
 
 	case INTEL_FAM6_ATOM_TREMONT_D: