Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/9] ASoC: SOF: core/ipc4/mtl: Add support for PCM delay reporting
@ 2023-02-02 11:11 Peter Ujfalusi
  2023-02-02 11:11 ` [PATCH v2 1/9] ASoC: SOF: add ipc4_fw_reg header file Peter Ujfalusi
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Peter Ujfalusi @ 2023-02-02 11:11 UTC (permalink / raw)
  To: lgirdwood, broonie, perex
  Cc: alsa-devel, kai.vehmanen, pierre-louis.bossart, rander.wang,
	ranjani.sridharan, yung-chuan.liao

Hi,

Changes since v1:
- The delay calculation updated to take into account the counter wrapping on both
  ends (host and link side).

The following series adds support for the PCM delay reporting in SOF core level
and implements the needed infrastructure with IPC4 to finally enable it for MTL.

Currently this is only supported on MTL (and via IPC4), but with the
infrastructure in place it will be possible to support other platforms with
DeepBuffer.

Regards,
Peter
---
Rander Wang (9):
  ASoC: SOF: add ipc4_fw_reg header file
  ASoC: SOF: add fw_info_box support
  ASoC: SOF: add time info structure for ipc4 path
  ASoC: SOF: ipc4-pcm: allocate time info for pcm delay feature
  ASoC: SOF: ipc4-pcm: add hw_params
  ASoC: SOF: add delay function support in sof framework
  ASoC: SOF: add get_stream_position ops for pcm delay
  ASoC: SOF: Intel: mtl: add get_stream_position support
  ASoC: SOF: ipc4-pcm: add delay function support

 sound/soc/sof/intel/mtl.c   |  14 +++
 sound/soc/sof/intel/mtl.h   |   6 +
 sound/soc/sof/ipc4-fw-reg.h | 155 ++++++++++++++++++++++++
 sound/soc/sof/ipc4-pcm.c    | 232 ++++++++++++++++++++++++++++++++++++
 sound/soc/sof/ipc4-priv.h   |  15 +++
 sound/soc/sof/ipc4.c        |   3 +
 sound/soc/sof/ops.h         |  10 ++
 sound/soc/sof/pcm.c         |  13 ++
 sound/soc/sof/sof-audio.h   |   6 +
 sound/soc/sof/sof-priv.h    |  10 ++
 10 files changed, 464 insertions(+)
 create mode 100644 sound/soc/sof/ipc4-fw-reg.h

-- 
2.39.1


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-02-02 12:47 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-02 11:11 [PATCH v2 0/9] ASoC: SOF: core/ipc4/mtl: Add support for PCM delay reporting Peter Ujfalusi
2023-02-02 11:11 ` [PATCH v2 1/9] ASoC: SOF: add ipc4_fw_reg header file Peter Ujfalusi
2023-02-02 11:11 ` [PATCH v2 2/9] ASoC: SOF: add fw_info_box support Peter Ujfalusi
2023-02-02 11:11 ` [PATCH v2 3/9] ASoC: SOF: add time info structure for ipc4 path Peter Ujfalusi
2023-02-02 11:11 ` [PATCH v2 4/9] ASoC: SOF: ipc4-pcm: allocate time info for pcm delay feature Peter Ujfalusi
2023-02-02 11:11 ` [PATCH v2 5/9] ASoC: SOF: ipc4-pcm: add hw_params Peter Ujfalusi
2023-02-02 11:11 ` [PATCH v2 6/9] ASoC: SOF: add delay function support in sof framework Peter Ujfalusi
2023-02-02 11:11 ` [PATCH v2 7/9] ASoC: SOF: add get_stream_position ops for pcm delay Peter Ujfalusi
2023-02-02 11:11 ` [PATCH v2 8/9] ASoC: SOF: Intel: mtl: add get_stream_position support Peter Ujfalusi
2023-02-02 11:11 ` [PATCH v2 9/9] ASoC: SOF: ipc4-pcm: add delay function support Peter Ujfalusi
2023-02-02 12:46   ` Péter Ujfalusi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox