Skip to content

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

Closed
kv2019i wants to merge 1 commit into
thesofproject:topic/sof-devfrom
kv2019i:202401-fix-chaindma-pause
Closed

kv2019i wants to merge 1 commit into
thesofproject:topic/sof-devfrom
kv2019i:202401-fix-chaindma-pause

Conversation

@kv2019i

@kv2019i kv2019i commented Jan 31, 2024

Copy link
Copy Markdown
Collaborator

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

kv2019i commented Jan 31, 2024

Copy link
Copy Markdown
Collaborator Author

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

kv2019i commented Feb 1, 2024

Copy link
Copy Markdown
Collaborator Author

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