diff options
author | Zhang Rui <rui.zhang@intel.com> | 2022-08-20 15:51:33 +0300 |
---|---|---|
committer | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2023-03-22 23:36:53 +0300 |
commit | 887e5be91dd253ff73c0b2644442c0cae5d6dca0 (patch) | |
tree | 4b1900e35bbb8457d91120bcf9a9d3ffb09553e5 /tools/power/x86/intel-speed-select/isst.h | |
parent | 20f06c9db22bf45de595a2a5855630b075596217 (diff) | |
download | linux-887e5be91dd253ff73c0b2644442c0cae5d6dca0.tar.xz |
tools/power/x86/intel-speed-select: Introduce api_version helper
In some cases, the output format may be different with different
api_version because of different capabilities or for backward
capabilities reason.
Introduce api_version() to get the api_version of the platform running.
No functional changes are expected.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
[srinivas.pandruvada@linux.intel.com: changelog edits]
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Diffstat (limited to 'tools/power/x86/intel-speed-select/isst.h')
-rw-r--r-- | tools/power/x86/intel-speed-select/isst.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/power/x86/intel-speed-select/isst.h b/tools/power/x86/intel-speed-select/isst.h index b854f4bf795f..3efa7251001f 100644 --- a/tools/power/x86/intel-speed-select/isst.h +++ b/tools/power/x86/intel-speed-select/isst.h @@ -213,6 +213,7 @@ extern int is_cpu_in_power_domain(int cpu, struct isst_id *id); extern int get_topo_max_cpus(void); extern int get_cpu_count(struct isst_id *id); extern int get_max_punit_core_id(struct isst_id *id); +extern int api_version(void); /* Common interfaces */ FILE *get_output_file(void); |