Skip to content

Topology: BDW, BYT, CHT: Reduce buffer size max for media PCM - #2574

Merged
lgirdwood merged 1 commit into
thesofproject:masterfrom
singalsu:byt_tplg_pcm_buffer_size
Mar 20, 2020
Merged

lgirdwood merged 1 commit into
thesofproject:masterfrom
singalsu:byt_tplg_pcm_buffer_size

Conversation

@singalsu

Copy link
Copy Markdown
Collaborator

This change prevents the IPC error that happens if aplay or
speaker-test uses larger than 64 kB buffer size. The buffer
setting in PCM_CAPABILITIES() is now the same as for low latency
PCM.

Signed-off-by: Seppo Ingalsuo seppo.ingalsuo@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.

Can you do this for all CHT, BSW topologies too.

@singalsu

Copy link
Copy Markdown
Collaborator Author

I realized now that this change impacts APT, BDW, BYT, and CHT. I need to edit the commit message since I though it was only for BYT.

$ grep -r pipe-pcm-media | sort
sof-apl-nocodec.m4:PIPELINE_PCM_ADD(sof/pipe-pcm-media.m4,
sof-apl-pcm512x.m4:PIPELINE_PCM_ADD(sof/pipe-pcm-media.m4,
sof-bdw-codec.m4:PIPELINE_PCM_ADD(sof/pipe-pcm-media.m4,
sof-bdw-nocodec.m4:PIPELINE_PCM_ADD(sof/pipe-pcm-media.m4,
sof-byt-codec.m4:PIPELINE_PCM_ADD(sof/pipe-pcm-media.m4,
sof-cht-max98090.m4:PIPELINE_PCM_ADD(sof/pipe-pcm-media.m4,
sof-cht-nocodec.m4:PIPELINE_PCM_ADD(sof/pipe-pcm-media.m4,

@singalsu
singalsu force-pushed the byt_tplg_pcm_buffer_size branch from 44b29a5 to 42426e4 Compare March 18, 2020 15:14
@singalsu singalsu changed the title Topology: BYT: Reduce buffer size max for media PCM to 64 kB Topology: APL, BDW, BYT, CHT: Reduce buffer size max for media PCM Mar 18, 2020

@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.

No impact to APL since it does not use compressed page descriptors (i.e. the page table IPC logic).

@singalsu
singalsu force-pushed the byt_tplg_pcm_buffer_size branch from 42426e4 to c14e5c2 Compare March 19, 2020 11:50
@lgirdwood

Copy link
Copy Markdown
Member

@singalsu commit message still says APL

This change prevents the IPC error that happens if aplay or
speaker-test uses larger than 64 kB buffer size. The buffer
setting in PCM_CAPABILITIES() is now the same as for low latency
PCM.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
@singalsu
singalsu force-pushed the byt_tplg_pcm_buffer_size branch from c14e5c2 to 6bd4553 Compare March 20, 2020 08:39
@singalsu singalsu changed the title Topology: APL, BDW, BYT, CHT: Reduce buffer size max for media PCM Topology: BDW, BYT, CHT: Reduce buffer size max for media PCM Mar 20, 2020
@singalsu

Copy link
Copy Markdown
Collaborator Author

Thanks, I've now fixed the commit message.

@lgirdwood

Copy link
Copy Markdown
Member

Jenkins CI known issues.

@lgirdwood
lgirdwood merged commit 25c1d0f into thesofproject:master Mar 20, 2020
@singalsu
singalsu deleted the byt_tplg_pcm_buffer_size branch September 15, 2022 13:14
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