Skip to content

Conversation

@caseorum
Copy link
Contributor

@caseorum caseorum commented Dec 1, 2020

This corrects the minimum transfer size calculation for the ptable and uses the relevant DMA attribute.

Fixes #3492, fixes #3503

This was too small, causing the ptable to be truncated and the
ptable DMA transfer to fail on BDW for small buffers, where the
minimum transfer is 4 bytes.

Signed-off-by: Joseph Burt <caseorum@gmail.com>
This rounds up the page table DMA transfer size to DMA_ATTR_COPY_ALIGNMENT
instead of a hard-coded 4 bytes.

Signed-off-by: Joseph Burt <caseorum@gmail.com>
@plbossart plbossart requested a review from lgirdwood December 2, 2020 17:57
@lgirdwood
Copy link
Member

rerun CI - not sure why it's failing on platforms where ptable is not used.

@lgirdwood
Copy link
Member

SOFCI TEST

@lgirdwood lgirdwood merged commit ddd3736 into thesofproject:master Dec 3, 2020
@caseorum caseorum deleted the bdw-stutter branch December 3, 2020 13:05
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.

[BUG] [BDW] IPC error on hw_params when buffer is too small [BUG][BDW] Stutter on bdw-rt5677 output

2 participants