mbox series

[0/3] ASoC: SOF: ipc4/Intel: Implement split fw library loading

Message ID 20230915113912.1405-1-peter.ujfalusi@linux.intel.com (mailing list archive)
Headers show
Series ASoC: SOF: ipc4/Intel: Implement split fw library loading | expand

Message

Peter Ujfalusi Sept. 15, 2023, 11:39 a.m. UTC
Hi,

This series implements support for split library loading to comply with the HDA
DMA programming sequence recommendation, which is:
1. DSP side DMA programming and GEN bit set to 1
2. host side DMA programming and RUN bit set to 1

The SOF support for library loading is based on this sequence, backwards
compatibility with older reference firmware is supported (where only the
LOAD_LIBRARY message is supported).

Regards,
Peter
---
Peter Ujfalusi (3):
  ASoC: SOF: Intel: hda: Add definition for SDxFIFOS.FIFOS mask
  ASoC: SOF: ipc4: Add new message type:
    SOF_IPC4_GLB_LOAD_LIBRARY_PREPARE
  ASoC: SOF: Intel: hda-loader: Add support for split library loading

 include/sound/sof/ipc4/header.h  | 15 +++++++++---
 sound/soc/sof/intel/hda-loader.c | 42 ++++++++++++++++++++++++++++++--
 sound/soc/sof/intel/hda-stream.c |  2 +-
 sound/soc/sof/intel/hda.h        |  3 +++
 sound/soc/sof/ipc4.c             |  1 +
 5 files changed, 56 insertions(+), 7 deletions(-)

Comments

Peter Ujfalusi Sept. 15, 2023, 11:43 a.m. UTC | #1
On 15/09/2023 14:39, Peter Ujfalusi wrote:
> Hi,
> 
> This series implements support for split library loading to comply with the HDA
> DMA programming sequence recommendation, which is:
> 1. DSP side DMA programming and GEN bit set to 1
> 2. host side DMA programming and RUN bit set to 1
> 
> The SOF support for library loading is based on this sequence, backwards
> compatibility with older reference firmware is supported (where only the
> LOAD_LIBRARY message is supported).
> 
> Regards,
> Peter
> ---
> Peter Ujfalusi (3):
>   ASoC: SOF: Intel: hda: Add definition for SDxFIFOS.FIFOS mask
>   ASoC: SOF: ipc4: Add new message type:
>     SOF_IPC4_GLB_LOAD_LIBRARY_PREPARE
>   ASoC: SOF: Intel: hda-loader: Add support for split library loading

There is something off with my scripts, one patch is missing, send the
series again with the four patch, please ignore this set.

> 
>  include/sound/sof/ipc4/header.h  | 15 +++++++++---
>  sound/soc/sof/intel/hda-loader.c | 42 ++++++++++++++++++++++++++++++--
>  sound/soc/sof/intel/hda-stream.c |  2 +-
>  sound/soc/sof/intel/hda.h        |  3 +++
>  sound/soc/sof/ipc4.c             |  1 +
>  5 files changed, 56 insertions(+), 7 deletions(-)
>