]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: avs: Add module management requests
authorCezary Rojewski <cezary.rojewski@intel.com>
Fri, 11 Mar 2022 15:35:34 +0000 (16:35 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 11 Mar 2022 16:23:59 +0000 (16:23 +0000)
commite3a3ab5b370cb3fd0957a44ffe7a6d72b9686d3c
treebf1c9e21683583b26ca551d3ec28da821c3ac3fd
parentb3e03d38f5332f614f5b3dc561053416a974e9ab
ASoC: Intel: avs: Add module management requests

Firmware modules implement processing algorithms. Their lifecycle,
similarly to pipelines is being controlled by IPCs: initialization,
deletion and (un)binding.

Modules can be configured at runtime - runtime parameters. This is done
with help of LARGE_CONFIG IPCs: getter and setter.

Due to firmware limitations, LARGE_CONFIG_GET handler implementation
does not support retrieving payload with size larger than IPC inbox
window size.

Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20220311153544.136854-8-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/ipc.c
sound/soc/intel/avs/messages.c
sound/soc/intel/avs/messages.h