tools/power turbostat: Support Alder Lake Mobile
authorChen Yu <yu.c.chen@intel.com>
Wed, 3 Feb 2021 08:19:59 +0000 (16:19 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 4 May 2021 22:23:14 +0000 (18:23 -0400)
Share the code between Alder Lake Mobile and Alder Lake Desktop.

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 e1bc793..a474582 100644 (file)
@@ -5056,6 +5056,7 @@ unsigned int intel_model_duplicates(unsigned int model)
        case INTEL_FAM6_ROCKETLAKE:
        case INTEL_FAM6_LAKEFIELD:
        case INTEL_FAM6_ALDERLAKE:
+       case INTEL_FAM6_ALDERLAKE_L:
                return INTEL_FAM6_CANNONLAKE_L;
 
        case INTEL_FAM6_ATOM_TREMONT_L: