]> git.hungrycats.org Git - linux/commit
ASoC: SOF: ipc4-topology: Enable deep buffer capture
authorSeppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Fri, 22 May 2026 07:56:59 +0000 (10:56 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 22 May 2026 11:07:37 +0000 (12:07 +0100)
commit8fbcb4ab267059fedd5e087160cb208b61ab8128
tree7126dc3bd11dd8072af56c2a30e9514c20b0a89e
parentcaa7a3711862615c5f0be9e8196518b823ae227a
ASoC: SOF: ipc4-topology: Enable deep buffer capture

This patch lets a capture PCM to operate with deep buffer
by taking dsp_max_burst_size_in_ms from topology if it is
defined. Earlier the value from topology was omitted for
capture.

If not defined, the maximum burst size for capture is set
similarly as before to one millisecond.

The dma_buffer_size is set similarly as for playback from
largest of deep_buffer_dma_ms or SOF_IPC4_MIN_DMA_BUFFER_SIZE
times OBS.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://patch.msgid.link/20260522075659.2645-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/ipc4-topology.c