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

[DNM] ASoC: SOF: ipc4: stop host DMA for chain DMA pause #4801

Closed

Conversation

kv2019i
Copy link
Collaborator

@kv2019i kv2019i commented Jan 31, 2024

Unlike normal pipelines, chain-dma PCM DMA is stopped when PCM is put on pause. If host doesn't stop the DMA, this will trigger errors on FW.

WIP implementation, this is a crude way to pass the chain-dma usage flag from IPC4 specific code, via generic PCM code to HDA host DMA handling.

Unlike normal pipelines, chain-dma PCM DMA is stopped when PCM
is put on pause. If host doesn't stop the DMA, this will trigger
errors on FW.

WIP implementation, this is a crude way to pass the chain-dma
usage flag from IPC4 specific code, via generic PCM code to HDA
host DMA handling.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
@kv2019i
Copy link
Collaborator Author

kv2019i commented Jan 31, 2024

This does seem to fix thesofproject/sof#8792 .

Either we need to change the FW implementation, or a lot of clean up and merge this in kernel driver.

@kv2019i
Copy link
Collaborator Author

kv2019i commented Feb 1, 2024

Closing. This fixes the issue, but current understanding is that the fix should be on FW side.

@kv2019i kv2019i closed this Feb 1, 2024
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.

1 participant