ASoC: SOF: ipc4: Add macros for chain-dma message bitsIn the chained DMA mode, the firmware allocates buffers for the hostand link DMA, and takes care of copying data between host- andlink-DMA bu
ASoC: SOF: ipc4: Add macros for chain-dma message bitsIn the chained DMA mode, the firmware allocates buffers for the hostand link DMA, and takes care of copying data between host- andlink-DMA buffers in a low-latency thread. This is different to aregular pipeline, no processing is allowed, and the connection betweenhost- and link DMA is handled with a dedicated IPC.This patch exposes the macros needed to create the required IPC messages.Signed-off-by: Jyri Sarha <jyri.sarha@intel.com>Reviewed-by: Rander Wang <rander.wang@intel.com>Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>Link: https://lore.kernel.org/r/20230321092654.7292-3-peter.ujfalusi@linux.intel.comSigned-off-by: Mark Brown <broonie@kernel.org>
show more ...
ASoC: SOF: ipc4: Add macro to set the core_id in create_pipe messageThe create pipeline message can carry the target code_id which is set to0 at the moment.Add macros to set the core_id in the m
ASoC: SOF: ipc4: Add macro to set the core_id in create_pipe messageThe create pipeline message can carry the target code_id which is set to0 at the moment.Add macros to set the core_id in the message extension.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-2-peter.ujfalusi@linux.intel.comSigned-off-by: Mark Brown <broonie@kernel.org>
ASoC: SOF: ipc4-pcm: Use the PCM stream's pipeline_info during triggerUse the list of pipelines in the PCM stream's pipeline info to triggerthe pipelines in the right order. Add a helper for trigg
ASoC: SOF: ipc4-pcm: Use the PCM stream's pipeline_info during triggerUse the list of pipelines in the PCM stream's pipeline info to triggerthe pipelines in the right order. Add a helper for triggering pipelinesin batch mode that will be used to trigger multiple pipelines at thesame time.Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>Reviewed-by: Libin Yang <libin.yang@intel.com>Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>Link: https://lore.kernel.org/r/20230127120031.10709-12-peter.ujfalusi@linux.intel.comSigned-off-by: Mark Brown <broonie@kernel.org>
ASoC: SOF: Intel: Add ipc4 library loading implementationOn Intel HDA platforms the library loading is done via DMA and an IPCmessage is also need to be sent to initiate the downloading of the new
ASoC: SOF: Intel: Add ipc4 library loading implementationOn Intel HDA platforms the library loading is done via DMA and an IPCmessage is also need to be sent to initiate the downloading of the newlibrary.Co-developed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>Reviewed-by: Chao Song <chao.song@intel.com>Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>Link: https://lore.kernel.org/r/20221020121238.18339-16-peter.ujfalusi@linux.intel.comSigned-off-by: Mark Brown <broonie@kernel.org>
ASoC: SOF: ipc4: Add macro to get core ID from log buffer status messageThe LOG_BUFFER_STATUS message includes the ID of the core which updatedits log buffer.With IPC4 each core logs to a differe
ASoC: SOF: ipc4: Add macro to get core ID from log buffer status messageThe LOG_BUFFER_STATUS message includes the ID of the core which updatedits log buffer.With IPC4 each core logs to a different slot in the debug window.Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>Reviewed-by: Rander Wang <rander.wang@intel.com>Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>Link: https://lore.kernel.org/r/20220909114332.31393-3-peter.ujfalusi@linux.intel.comSigned-off-by: Mark Brown <broonie@kernel.org>
ASoC: SOF: ipc4: Add set_core_state pm_ops implementationIPC4 uses the SET_DX message to enable/disable cores managed by the DSP.The dx_state.core_mask indicates which core is going to change stat
ASoC: SOF: ipc4: Add set_core_state pm_ops implementationIPC4 uses the SET_DX message to enable/disable cores managed by the DSP.The dx_state.core_mask indicates which core is going to change state,the dx_state.dx_mask is to power on (1) or off (0) the core.In the dx_mask only those bits (cores) checked which bit is set in thecore_mask, other bits (cores) ignored.Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>Link: https://lore.kernel.org/r/20220610083549.16773-5-peter.ujfalusi@linux.intel.comSigned-off-by: Mark Brown <broonie@kernel.org>
ASoC: SOF: Add initial header file for ipc4The header file contains essential structure definitions, description ofbit fields and bits in the ipc4 header and an internally used ipc4 messagecontai
ASoC: SOF: Add initial header file for ipc4The header file contains essential structure definitions, description ofbit fields and bits in the ipc4 header and an internally used ipc4 messagecontainer definition.Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>Reviewed-by: Rander Wang <rander.wang@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/20220505094818.10346-3-peter.ujfalusi@linux.intel.comSigned-off-by: Mark Brown <broonie@kernel.org>