diff mbox series

tools/power turbostat: introduce support for RaptorLake

Message ID 20220421141908.94341-1-rui.zhang@intel.com
State Superseded
Headers show
Series tools/power turbostat: introduce support for RaptorLake | expand

Commit Message

Zhang, Rui April 21, 2022, 2:19 p.m. UTC
RaptorLake behaves similarly to AlderLake.
Add support for RaptorLake processor.

Signed-off-by: Zhang Rui <rui.zhang@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 bc5ae0872fed..8fe2cd9b6759 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -5209,6 +5209,7 @@  unsigned int intel_model_duplicates(unsigned int model)
 	case INTEL_FAM6_LAKEFIELD:
 	case INTEL_FAM6_ALDERLAKE:
 	case INTEL_FAM6_ALDERLAKE_L:
+	case INTEL_FAM6_RAPTORLAKE:
 		return INTEL_FAM6_CANNONLAKE_L;
 
 	case INTEL_FAM6_ATOM_TREMONT_L: