Skip to content

Commit

Permalink
topology: bytcht: reduce deep-buffer to 5ms
Browse files Browse the repository at this point in the history
Somehow a 10ms buffer for the deep-buffer pipe generates write errors
on the kernel side with S24 and S32_LE.

Reducing the memory footprint seems to fix the problem.

This may hide a more fundamental problem with either scheduling or
memory allocation, but for now let's solve CI and daily tests.

BugLink: #3171
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
  • Loading branch information
plbossart authored and lgirdwood committed Aug 4, 2020
1 parent d07035d commit 4a6eea6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/topology/sof-byt-codec.m4
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ PIPELINE_PCM_ADD(sof/pipe-host-volume-playback.m4,
# this is connected to pipeline DAI 1
PIPELINE_PCM_ADD(sof/pipe-host-volume-playback.m4,
4, 1, 2, s32le,
10000, 0, 0,
5000, 0, 0,
48000, 48000, 48000,
SCHEDULE_TIME_DOMAIN_DMA,
PIPELINE_PLAYBACK_SCHED_COMP_1)
Expand Down
2 changes: 1 addition & 1 deletion tools/topology/sof-cht-nocodec.m4
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ PIPELINE_PCM_ADD(sof/pipe-host-volume-playback.m4,
# this is connected to pipeline DAI 1
PIPELINE_PCM_ADD(sof/pipe-host-volume-playback.m4,
4, 1, 2, s32le,
10000, 0, 0,
5000, 0, 0,
48000, 48000, 48000,
SCHEDULE_TIME_DOMAIN_DMA,
PIPELINE_PLAYBACK_SCHED_COMP_1)
Expand Down

0 comments on commit 4a6eea6

Please sign in to comment.