]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: sof: ipc4-topology: Add support to sched_domain attribute
authorJyri Sarha <jyri.sarha@linux.intel.com>
Fri, 29 Aug 2025 15:11:01 +0000 (18:11 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 29 Aug 2025 18:52:20 +0000 (20:52 +0200)
commit3d439e1ec3368fae17db379354bd7a9e568ca0ab
tree15cc80b565ba109c9f812172473a93627da14e3f
parentf522da9ab56c96db8703b2ea0f09be7cdc3bffeb
ASoC: sof: ipc4-topology: Add support to sched_domain attribute

Add SOF_TKN_COMP_SCHED_DOMAIN and connect it to struct snd_sof_widget
comp_domain member, with new get_token_comp_domain() function.

The logic is such that if the topology attribute is not present in the
widget node the corresponding IPC4 extension value is taken from the
module's manifest like before. But if the attribute is found and
recognized its value overrides what is there in the manifest.

Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Message-ID: <20250829151101.27327-1-peter.ujfalusi@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/uapi/sound/sof/tokens.h
sound/soc/sof/ipc4-topology.c
sound/soc/sof/ipc4-topology.h
sound/soc/sof/sof-audio.h