diff mbox series

[2/2] tools/power turbostat: Support Ice Lake D

Message ID fbf91a90f6414379dff110f9430122670487ffa4.1612341978.git.yu.c.chen@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Len Brown
Headers show
Series Add more CPUs support in turbostat | expand

Commit Message

Chen Yu Feb. 3, 2021, 8:54 a.m. UTC
Ice Lake D is low-end server version of Ice Lake X, reuse
the code accordingly.

Tested-by: Wendy Wang <wendy.wang@intel.com>
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
---
 tools/power/x86/turbostat/turbostat.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index 34628e3e7099..d3c2ef91ac49 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -4993,6 +4993,7 @@  unsigned int intel_model_duplicates(unsigned int model)
 		return INTEL_FAM6_ATOM_TREMONT;
 
 	case INTEL_FAM6_ICELAKE_X:
+	case INTEL_FAM6_ICELAKE_D:
 	case INTEL_FAM6_SAPPHIRERAPIDS_X:
 		return INTEL_FAM6_SKYLAKE_X;
 	}