diff options
author | Pierre-Louis Bossart <[email protected]> | 2024-02-13 12:12:37 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-02-13 13:28:55 +0000 |
commit | 426476344f01096c7dae6c5413cc8a8d9bbdea29 (patch) | |
tree | 31c2d8b906a7419d9006504f88a77707e13024d0 /net/lapb/lapb_out.c | |
parent | a5b7767723e739c700f5c56841790a85bd7f13ae (diff) |
ASoC: SOF: ipc4: store number of playback/capture streams
The CHAIN_DMA IPC needs the number of playback streams as a start
offset for the dma_id of a capture stream.
This offset can be retrieved on Intel platforms from the GCAP
information, and stored in the sof_ipc4_fw_data structure.
One could argue that the fields added are not really dependent on any
firmware definitions but rather on hardware capabilities, but they are
required for the IPC CHAIN_DMA definitions so adding them in
ipc4_fw_data isn't completely silly.
The CHAIN_DMA IPC is currently only functional on Intel HDaudio DMAs,
and gated by the snd_sof_is_chain_dma_supported() helper.
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Péter Ujfalusi <[email protected]>
Reviewed-by: Bard Liao <[email protected]>
Signed-off-by: Peter Ujfalusi <[email protected]>
Link: https://msgid.link/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions