]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: topology: allow for dynamic pipelines override for debug
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 4 Oct 2021 21:27:28 +0000 (16:27 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 5 Oct 2021 12:09:55 +0000 (13:09 +0100)
commit11f84eb11cc1244d7bc47f9dddbde36cda581506
tree6932f3db744c98239bd9b80bc98714f01e22ad78
parent7c4986a1083d7109a70cea6ed8df9cd59a1129c6
ASoC: SOF: topology: allow for dynamic pipelines override for debug

For debug and community support, it's useful to expose a kernel
parameter to prevent the use of dynamic pipelines exposed in a
topology file, or conversely to force an existing topology to use
dynamic pipelines.

Add an override bit and an enable bit which is valid only when the
override is set.

For products, the intent is that the topology file defines the
behavior, these two bits are only intended for diagnosis and
performance checks.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <bard.liao@intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20211004212729.199550-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-priv.h
sound/soc/sof/topology.c