ASoC: SOF: ipc4: Fixes for delay reporting
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | ASoC: SOF: ipc4-pcm: fix delay calculation when DSP resamplessound/ | +62 | 0 replies | |
| 2/5 | ASoC: SOF: ipc4-pcm: fix start offset calculation for chain DMAsound/ sound/ sound/ | +12 | 0 replies | |
| 3/5 | ASoC: SOF: sof-audio: add dev_dbg_ratelimited wrappersound/ | +5 | 0 replies | |
| 4/5 | ASoC: SOF: ipc4-pcm: do not report invalid delay valuessound/ | +9 | 0 replies | |
| 5/5 | ASoC: SOF: Intel: Read the LLP via the associated Link DMA channelsound/ | +27 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Péter Ujfalusi | Bard Liao | Kai Vehmanen | Ranjani Sridharan |
|---|---|---|---|---|
| 1/5 | R-b | R-b | ||
| 2/5 | R-b | R-b | ||
| 3/5 | R-b | R-b | ||
| 4/5 | R-b | R-b | ||
| 5/5 | 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 4 reviewers.
Cover letter [PATCH 0/5] ASoC: SOF: ipc4: Fixes for delay reporting
Hi,
With SRC in the firmware processing pipeline the FE and BE rate can be different, the sample counters on the two side of the DSP counts in different rate domain and they will drift apart. The counters should be moved to the same rate domain to be usable for delay calculation.
The ChainDMA offset value was incorrect since the host buffer size and the trigger to start the chain is misunderstood initially.
Finally: we can have a situation when the host and link DMA channel in HDA is not using matching channel ids.
We need to look up the link channel explicitly to make sure that we read the LLP from the correct link.
Regards,
Peter
---
Kai Vehmanen (3):
ASoC: SOF: ipc4-pcm: fix delay calculation when DSP resamples
ASoC: SOF: ipc4-pcm: fix start offset calculation for chain DMA
ASoC: SOF: ipc4-pcm: do not report invalid delay values
Peter Ujfalusi (2):
ASoC: SOF: sof-audio: add dev_dbg_ratelimited wrapper
ASoC: SOF: Intel: Read the LLP via the associated Link DMA channel
sound/soc/sof/intel/hda-stream.c | 29 ++++++++- sound/soc/sof/ipc4-pcm.c | 104 ++++++++++++++++++++++++------- sound/soc/sof/ipc4-topology.c | 1 - sound/soc/sof/ipc4-topology.h | 2 + sound/soc/sof/sof-audio.h | 5 ++ 5 files changed, 114 insertions(+), 27 deletions(-)
Signature · 1 line
2.51.0