Skip to content

Topology: Updates to ASRC related topologies - #2367

Merged
lgirdwood merged 3 commits into
thesofproject:masterfrom
singalsu:asrc_fix_topology_buffers_mistakes
Feb 23, 2020
Merged

lgirdwood merged 3 commits into
thesofproject:masterfrom
singalsu:asrc_fix_topology_buffers_mistakes

Conversation

@singalsu

Copy link
Copy Markdown
Collaborator

This pull request contains a bug fix for buffers count where I've messed up sink/source buffers order, add of capture-ASRC pipelines to ASRC playback topology, and remove of capture only ASRC topology.

This patch fixes the apply of DAI_PERIODS for playback sink
and capture source buffers. Also the comments for components
instantiating are fixed to order sink, source as they are
in the parameters to avoid confusion.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Since the new sof pcm512x machine driver supports the DMIC backend
it's practical to move the ASRC capture pipelines into this topology
to avoid need to change into nocodec mode for ASRC capture tests.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
The DMIC capture is added to APL ASRC PCM512x topology so this
topology can be removed.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
@singalsu

Copy link
Copy Markdown
Collaborator Author

@xiulipan Can the UP2 nocodec fails in CI, nearly all of them, be related to removal of topology sof-apl-asrc-dmic.tplg build? I wonder if I should drop the third commit to check.

@lgirdwood

Copy link
Copy Markdown
Member

Looks like a CI DUT issue. Rerun CI

@lgirdwood

Copy link
Copy Markdown
Member

SOFCI TEST

@xiulipan

Copy link
Copy Markdown
Contributor

@lrgirdwo @singalsu It seems more like some DSP timeout issue at PCM hw param

kernel: [  505.325266] sof-audio-pci 0000:00:0e.0: ipc tx: 0x60010000: GLB_STREAM_MSG: PCM_PARAMS
kernel: [  505.828733] sof-audio-pci 0000:00:0e.0: error: ipc timed out for 0x60010000 size 108
kernel: [  505.828745] sof-audio-pci 0000:00:0e.0: info: preventing DSP entering D3 state to preserve context
kernel: [  505.828754] sof-audio-pci 0000:00:0e.0: status: fw entered - code 00000005
kernel: [  505.828802] sof-audio-pci 0000:00:0e.0: error: unexpected fault 0x00000000 trace 0x00004000
kernel: [  505.828812] sof-audio-pci 0000:00:0e.0: error: hda irq intsts 0x00000000 intlctl 0xc0000001 rirb 00
kernel: [  505.828817] sof-audio-pci 0000:00:0e.0: error: dsp irq ppsts 0x00000000 adspis 0x00000000
kernel: [  505.828825] sof-audio-pci 0000:00:0e.0: error: host status 0x00000000 dsp status 0x00000000 mask 0x00000003
kernel: [  505.828830] sof-audio-pci 0000:00:0e.0: error: waking up any trace sleepers
kernel: [  505.828838] sof-audio-pci 0000:00:0e.0: error: hw params ipc failed for stream 1
kernel: [  505.828846] sof-audio-pci 0000:00:0e.0: ASoC: 0000:00:0e.0 hw params failed: -110

@lgirdwood

Copy link
Copy Markdown
Member

@xiulipan it's also timing out at DAI config too.

@tlauda tlauda mentioned this pull request Feb 13, 2020
@singalsu

Copy link
Copy Markdown
Collaborator Author

SOFCI TEST

@lgirdwood

Copy link
Copy Markdown
Member

CI looks unrelated.

@lgirdwood
lgirdwood merged commit 7dd11a9 into thesofproject:master Feb 23, 2020
@singalsu
singalsu deleted the asrc_fix_topology_buffers_mistakes branch January 27, 2021 08:56
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.

4 participants