Skip to content

host: fix playback with DW-DMA - #1162

Merged
lgirdwood merged 1 commit into
thesofproject:masterfrom
tlauda:topic/byt-playback-fix
Mar 21, 2019
Merged

lgirdwood merged 1 commit into
thesofproject:masterfrom
tlauda:topic/byt-playback-fix

Conversation

@tlauda

@tlauda tlauda commented Mar 21, 2019

Copy link
Copy Markdown
Contributor

Fixes playback with DW-DMA. Flow of pipeline copy
has changed, so now we need to preload the whole
buffer before allowing first copy to further
components. Also we need to move dma_copy call
to buffer callbacks to be up to date with data.
This was previosly done only for Host DMA.

Signed-off-by: Tomasz Lauda tomasz.lauda@linux.intel.com

Fixes playback with DW-DMA. Flow of pipeline copy
has changed, so now we need to preload the whole
buffer before allowing first copy to further
components. Also we need to move dma_copy call
to buffer callbacks to be up to date with data.
This was previosly done only for Host DMA.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>

@lgirdwood lgirdwood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We really need to move the whole conditional logic out of host.c and into DMA drivers via extended ops. This should be done soon.

@lgirdwood
lgirdwood merged commit de46954 into thesofproject:master Mar 21, 2019
@tlauda
tlauda deleted the topic/byt-playback-fix branch November 22, 2019 11:25
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.

2 participants