diff options
-rw-r--r-- | tools/power/x86/intel-speed-select/isst-config.c | 2 | ||||
-rw-r--r-- | tools/power/x86/intel-speed-select/isst.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tools/power/x86/intel-speed-select/isst-config.c b/tools/power/x86/intel-speed-select/isst-config.c index 2cf3917428c1..bddc0d1ff2d7 100644 --- a/tools/power/x86/intel-speed-select/isst-config.c +++ b/tools/power/x86/intel-speed-select/isst-config.c @@ -362,6 +362,8 @@ int get_physical_die_id(int cpu) void set_isst_id(struct isst_id *id, int cpu) { id->cpu = cpu; + id->pkg = get_physical_package_id(cpu); + id->die = get_physical_die_id(cpu); } int get_cpufreq_base_freq(int cpu) diff --git a/tools/power/x86/intel-speed-select/isst.h b/tools/power/x86/intel-speed-select/isst.h index fb6288087fb1..4bab3b2dce5d 100644 --- a/tools/power/x86/intel-speed-select/isst.h +++ b/tools/power/x86/intel-speed-select/isst.h @@ -82,6 +82,8 @@ /* Unified structure to specific a CPU or a Power Domain */ struct isst_id { int cpu; + int pkg; + int die; }; struct isst_clos_config { |