tools/power turbostat: Support Cometlake
authorChen Yu <yu.c.chen@intel.com>
Thu, 31 Oct 2019 13:14:22 +0000 (21:14 +0800)
committerLen Brown <len.brown@intel.com>
Fri, 20 Mar 2020 04:32:27 +0000 (00:32 -0400)
From a turbostat point of view, Cometlake is like Kabylake.

Suggested-by: Rui Zhang <rui.zhang@intel.com>
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c

index 31c1ca0bb3ee1d6e98250cc24c7de2dbbd016f13..dd5ac9f52ac51065bb838c2058c8cc73d14602fb 100644 (file)
@@ -4610,6 +4610,8 @@ unsigned int intel_model_duplicates(unsigned int model)
        case INTEL_FAM6_SKYLAKE:
        case INTEL_FAM6_KABYLAKE_L:
        case INTEL_FAM6_KABYLAKE:
+       case INTEL_FAM6_COMETLAKE_L:
+       case INTEL_FAM6_COMETLAKE:
                return INTEL_FAM6_SKYLAKE_L;
 
        case INTEL_FAM6_ICELAKE_L: