tools/power/x86/intel-speed-select: Add pkg and die in isst_id
authorZhang Rui <rui.zhang@intel.com>
Sat, 20 Aug 2022 15:58:19 +0000 (23:58 +0800)
committerSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Thu, 15 Sep 2022 18:16:05 +0000 (11:16 -0700)
commit32d6ab45511c65e64202bc0b436301fc8ee83ad8
treef9445d227bc376b6b3a6c304f7ceac18c2b19c5b
parent850337ec7b2c0f510772eeeef9c12c658b3f3603
tools/power/x86/intel-speed-select: Add pkg and die in isst_id

Code uses pkg_id and die_id to refer to a specific power domain.

The pkg/die information is already settled at start time. Adding package
id and die id information into struct isst_id so that code does not need
to retrieve them at runtime.

More code cleanups can be done with the package/die info available.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
tools/power/x86/intel-speed-select/isst-config.c
tools/power/x86/intel-speed-select/isst.h