diff options
| author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2023-05-22 13:13:13 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2023-05-22 11:18:38 +0100 |
| commit | d8a2c987934959dd1f27de75401625650cd25e47 (patch) | |
| tree | 46a55c6a28ae4ba5147eefa43f99b59d797ad672 /tools/perf/scripts/python | |
| parent | ASoC: SOF: ipc4-topology: Do not use the CPC value from topology (diff) | |
| download | linux-d8a2c987934959dd1f27de75401625650cd25e47.tar.gz linux-d8a2c987934959dd1f27de75401625650cd25e47.zip | |
ASoC: SOF: ipc4-loader/topology: Query the CPC value from manifest
The manifest's firmware module configuration section contains the measured
CPC values along with a matching IBS/OBS values.
The CPC can be looked up by looking for a matching IBS/OBS entry.
In case of multiple matches we will use the highest CPC value.
If there is no mod_cfg or no CPC value (all 0) or no match was found then
print warning message and use 0 as CPC value.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20230522101313.12519-6-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
