OSDN Git Service

ASoC: SOF: support topology components on secondary cores
authorGuennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Wed, 2 Sep 2020 14:07:55 +0000 (17:07 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 4 Sep 2020 09:12:22 +0000 (10:12 +0100)
commitd1c6c4a9fd3da5c735386b0cdb44d79667f10a1b
treefba700736fcc90bbefde6329ff5a9f7914391616
parent0dcdf84289fbf61cd42cbb1e379e2150aa17e31e
ASoC: SOF: support topology components on secondary cores

Currently SOF supports running pipelines on secondary DSP cores in a
limited way. This patch represents the next step in SOF multi-core DSP
support, it adds checks for core ID to individual topology components.
It takes care to power up all the requested cores. More advanced DSP
core power management should be added in the future.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200902140756.1427005-3-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/uapi/sound/sof/tokens.h
sound/soc/sof/pm.c
sound/soc/sof/sof-audio.c
sound/soc/sof/sof-audio.h
sound/soc/sof/topology.c