tools/power turbostat: Support Ice Lake D
authorChen Yu <yu.c.chen@intel.com>
Wed, 3 Feb 2021 08:26:32 +0000 (16:26 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 4 May 2021 22:23:14 +0000 (18:23 -0400)
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>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c

index a474582..d27e899 100644 (file)
@@ -5063,6 +5063,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;
        }