Skip to content

ASoC: SOF: core/ipc4/mtl: Add support for PCM delay reporting

Peter Ujfalusi alsa-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest9 patches 1 replyIn review
  2. v29 patches 1 replySuperseded
  3. v19 patches 3 repliesSuperseded

Changes in v3 from the cover letter

- Use div64_u64_rem() to make the code compile and work on non 64bit architectures

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9ASoC: SOF: add ipc4_fw_reg header filesound/soc/sof/ipc4-fw-reg.h+155 -00 replies
2/9ASoC: SOF: add fw_info_box supportsound/soc/sof/ipc4-priv.h sound/soc/sof/ipc4.c sound/soc/sof/sof-priv.h+5 -00 replies
3/9ASoC: SOF: add time info structure for ipc4 pathsound/soc/sof/ipc4-priv.h sound/soc/sof/sof-audio.h+17 -00 replies
4/9ASoC: SOF: ipc4-pcm: allocate time info for pcm delay featuresound/soc/sof/ipc4-pcm.c+25 -00 replies
5/9ASoC: SOF: ipc4-pcm: add hw_paramssound/soc/sof/ipc4-pcm.c+98 -00 replies
6/9ASoC: SOF: add delay function support in sof frameworksound/soc/sof/pcm.c sound/soc/sof/sof-audio.h+16 -00 replies
7/9ASoC: SOF: add get_stream_position ops for pcm delaysound/soc/sof/ops.h sound/soc/sof/sof-priv.h+19 -00 replies
8/9ASoC: SOF: Intel: mtl: add get_stream_position supportsound/soc/sof/intel/mtl.c sound/soc/sof/intel/mtl.h+20 -00 replies
9/9ASoC: SOF: ipc4-pcm: add delay function supportsound/soc/sof/ipc4-pcm.c+109 -00 replies

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by.

PatchPierre-Louis BossartRanjani SridharanBard Liao
1/9R-b R-b R-b
2/9R-b R-b R-b
3/9R-b R-b R-b
4/9R-b R-b R-b
5/9R-b R-b R-b
6/9R-b R-b R-b
7/9R-b R-b R-b
8/9R-b R-b R-b
9/9R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/9] ASoC: SOF: core/ipc4/mtl: Add support for PCM delay reporting

Hi,

Changes since v2:
- Use div64_u64_rem() to make the code compile and work on non 64bit architectures

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
Signature · 1 line
2.39.1