Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chain_dma: Fix chain DMA transfer #9505

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

serhiy-katsyuba-intel
Copy link
Contributor

Fixes chain DMA implementation: wrong calculation of bytes consumed from host and written into HDA link. The problem was reproduced on test with variable bitrate stream.

Fixes chain DMA implementation: wrong calculation of bytes consumed from
host and written into HDA link. The problem was reproduced on test with
variable bitrate stream.

Signed-off-by: Serhiy Katsyuba <[email protected]>
@serhiy-katsyuba-intel
Copy link
Contributor Author

codestyle / checkpatch failure is false positive:

WARNING: 'HDA' may be misspelled - perhaps 'HAD'?
#7: 
host and written into HDA link. The problem was reproduced on test with
                      ^^^

@serhiy-katsyuba-intel serhiy-katsyuba-intel marked this pull request as draft September 24, 2024 11:03
@serhiy-katsyuba-intel
Copy link
Contributor Author

Temporarily converted to Draft as test_06_05_pass_through_chain_hda_codec_loopback[dma_id=0-dma_id=0-sin_48khz_2ch_5s_mp3_48000Hz_16in16bit_2ch] started to randomly fail with this PR from time to time.

@lgirdwood
Copy link
Member

@serhiy-katsyuba-intel any update ?

@serhiy-katsyuba-intel
Copy link
Contributor Author

@serhiy-katsyuba-intel any update ?

The fix triggers occasional chain DMA CI test failure. Most probably, the test would be fixed (or removed from CI). Once the test is fixed I'll un-draft the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants