ASoC: SOF: ipc4-topology: Add support for core_id for pipelines
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Tue, 7 Mar 2023 12:35:55 +0000 (14:35 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 7 Mar 2023 13:58:13 +0000 (13:58 +0000)
commit05ade472278a1a2fccc465ace205d6cfa9b521d5
treef66bbaa601923a26bd71ce7af1ff1ecc6bcd8312
parent11f45690b3f6c6a2b5c57dbb036df3f838f7c016
ASoC: SOF: ipc4-topology: Add support for core_id for pipelines

Token SOF_TKN_SCHED_CORE in topology file can specify the target core for
the pipeline, if it is missing it is going to be 0 (as it is right now).

Firmware will double-check all information retrieved by topology and
report errors if required. This will allow policy and changes in
topologies without a need for a synchronized kernel change.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@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/20230307123556.31328-3-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/ipc4-topology.c
sound/soc/sof/ipc4-topology.h