[DNM] dai-zephyr: use frames aligned for multi-endpoint copy#9196
[DNM] dai-zephyr: use frames aligned for multi-endpoint copy#9196iganakov wants to merge 1 commit intothesofproject:mainfrom
Conversation
fc9ad55 to
6bdc7d4
Compare
2f8bcfd to
26e362a
Compare
26e362a to
31bf254
Compare
31bf254 to
04cc408
Compare
When aggregating streams using dai_zephyr_multi_endpoint_copy() multiple glitches observed in audio streams with odd number of channels. Use audio_stream_avail_frames_aligned() for every dai in a loop to correctly calculate processing frames. Signed-off-by: Ievgen Ganakov <ievgen.ganakov@intel.com>
04cc408 to
25fbae0
Compare
|
This doesn't look good in the CI results https://sof-ci.01.org/sofpr/PR9196/build5811/devicetest/index.html?model=LNLM_SDW_AIOC&testcase=check-playback-10sec I don't think we have this in baseline. |
@iganakov I dont think any of the CI tests are doing odd number of channels wrt the number of test failures, this looks like we have impact on even channel numbers too. |
|
@kv2019i @lgirdwood I'm able to reproduce the issue with Windows driver also. Looks like something has changed in FW since I implemented this fix some time ago. Let me find the root cause. |
dnikodem
left a comment
There was a problem hiding this comment.
As CI is failing please do not merge this PR.
|
Release reminder - one week to v2.11-rc1. |
| frames_aligned = | ||
| audio_stream_avail_frames_aligned(&dd[i]->dma_buffer->stream, | ||
| &multi_endpoint_buffer->stream); | ||
| frames = MIN(frames, frames_aligned); |
There was a problem hiding this comment.
shouldn't stat be used? If not - do we still need dma_get_status()?
|
@iganakov any update ? |
|
Feature cutoff for v2.12 today, @iganakov any update? This is a bugfix, so we can still take it to the release, but at minimum needs a rebase. |
|
Stable v2.13 branched, moving this forward. |
|
No update in two releases, moving to TBD milesotne. FYI @iganakov @abonislawski |
When aggregating streams using
dai_zephyr_multi_endpoint_copy()multiple glitches observed in audio streams with odd number of channels. Useaudio_stream_avail_frames_aligned()for every dai in a loop to correctly calculate processing frames.