Skip to content

Conversation

@xiulipan
Copy link
Contributor

@xiulipan xiulipan commented Feb 19, 2020

Add vol-kfbm pipe
Add DMIC KWD template for intel.
Add KWD pipeline in hda_generic pipeline with above template

@lgirdwood
Copy link
Member

@slawblauciak @mengdonglin @xiulipan @tlauda it appears we still have the DAI IPC timeout (unrelated to this PR but in the CI results)

kernel: [  285.192629] sof-audio-pci 0000:00:0e.0: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
kernel: [  285.192763] sof-audio-pci 0000:00:0e.0: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
kernel: [  285.192770] sof-audio-pci 0000:00:0e.0: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
kernel: [  285.697819] sof-audio-pci 0000:00:0e.0: error: ipc timed out for 0x80010000 size 120
kernel: [  285.697831] sof-audio-pci 0000:00:0e.0: info: preventing DSP entering D3 state to preserve context
kernel: [  285.697856] sof-audio-pci 0000:00:0e.0: status: fw entered - code 00000005
kernel: [  285.697900] sof-audio-pci 0000:00:0e.0: error: unexpected fault 0x00000000 trace 0x00004000
kernel: [  285.697908] sof-audio-pci 0000:00:0e.0: error: hda irq intsts 0x00000000 intlctl 0xc0000001 rirb 00
kernel: [  285.697911] sof-audio-pci 0000:00:0e.0: error: dsp irq ppsts 0x00000000 adspis 0x00000000
kernel: [  285.697917] sof-audio-pci 0000:00:0e.0: error: host status 0x00000000 dsp status 0x00000000 mask 0x00000003
kernel: [  285.697920] sof-audio-pci 0000:00:0e.0: error: waking up any trace sleepers
kernel: [  285.697931] sof-audio-pci 0000:00:0e.0: error: failed to set dai config for NoCodec-5
kernel: [  285.697935] sof-audio-pci 0000:00:0e.0: error: failed to restore pipeline after resume -110

@xiulipan
Copy link
Contributor Author

@lgirdwood It seems the XCC FW for CI is not enabled for this PR test. I will try to re-run this test to see if the same issue can be seen.
https://sof-ci.01.org/sofpr/PR2405/build4923/devicetest/APL_UP2_NOCODEC/verify-sof-firmware-load.sh/verify-sof-firmware-load.sh.txt

kernel: [ 3.340637] sof-audio-pci 0000:00:0e.0: Firmware info: used compiler XCC 12:0:8 xtensa-apl-elf used optimization flags O2

@xiulipan
Copy link
Contributor Author

SOFCI TEST

2 similar comments
@lgirdwood
Copy link
Member

SOFCI TEST

@lgirdwood
Copy link
Member

SOFCI TEST

Copy link

@juimonen juimonen left a comment

Choose a reason for hiding this comment

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

commit message: dection -> detection, also dmis -> dmic (?)

@lgirdwood
Copy link
Member

SOFCI TEST

@lgirdwood
Copy link
Member

The WHL DUT has been rebooted so retest.

@xiulipan
Copy link
Contributor Author

xiulipan commented Mar 6, 2020

@lgirdwood Maybe we need to wait for the TGL FW update here. I actually removed all HDMI PCM to make this tplg loaded on TGL.

@lgirdwood
Copy link
Member

SOFCI TEST

@lgirdwood
Copy link
Member

Licence server timeout on CI

@xiulipan xiulipan changed the title [topology] Add KWD tplg for HDA platforms [topology] Add KWD tplg for TGL Mar 23, 2020
@xiulipan xiulipan force-pushed the pr/hdakwd branch 2 times, most recently from c9012be to 4df04be Compare March 23, 2020 09:42
@xiulipan
Copy link
Contributor Author

@sathya-nujella @RDharageswari could you help to test and review?

@lgirdwood
Copy link
Member

Jenkins known issues.

@xiulipan
Copy link
Contributor Author

@RDharageswari @keqiaozhang Could you help to test the new tplg with vol in KDW pipeline?

@keqiaozhang
Copy link
Collaborator

@xiulipan Verified this new tplg on TGL, KWD works, no obvious issues found.

@xiulipan
Copy link
Contributor Author

@lgirdwood @jajanusz updated, ping for review.

Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

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

Looks like some macros are in the wrong place ?

xiulipan added 5 commits April 1, 2020 10:54
The PCM ID should use PCM_ID instead for PIPELINE_ID

Signed-off-by: Pan Xiuli <[email protected]>
Add vol comp before kfbm comp in pipe-vol-kfbm-capture.

Signed-off-by: Pan Xiuli <[email protected]>
Add generic dmic kwd template.
Need to define flowing variable to make it work:
CHANNELS: channel for the DMIC

KFBM_TYPE: kfpm or vol-kfpm

DMIC_PCM_48K_ID: PCM ID for 48K DMIC
DMIC_PIPELINE_48k_ID: pipeline ID for 48K DMIC
DMIC_DAI_LINK_48K_ID: dai link ID in machine dirver for
48K DMIC

DMIC_PCM_16k_ID: PCM ID for KWD 16K DMIC
DMIC_PIPELINE_16k_ID: pipeline ID for 16K DMIC
DMIC_PIPELINE_KWD_ID: pipeline ID for KWD
DMIC_DAI_LINK_16k_ID: dai link ID in machine driver
for 16K DMIC

Signed-off-by: Pan Xiuli <[email protected]>
Add KWD pipeline with kfpm only for HDA generic topology.
DMIC 48K have PCM 6
DMIC 16K have PCM 7

Signed-off-by: Pan Xiuli <[email protected]>
Add KWD pipelines with vol-kfpm pipe using intel-generic-dmic-kwd tmplate.
48K DMIC still uses PCM 99
Add 16K DMIC KWD on PCM 100

Signed-off-by: Pan Xiuli <[email protected]>
@xiulipan
Copy link
Contributor Author

xiulipan commented Apr 1, 2020

@lgirdwood @RDharageswari updated, ping for review.

@xiulipan xiulipan requested review from jajanusz and lgirdwood April 1, 2020 15:12
@xiulipan
Copy link
Contributor Author

xiulipan commented Apr 2, 2020

@jajanusz Can you check update and merge this PR

@lgirdwood
Copy link
Member

CI known issues. @jajanusz good to go once you are ready.

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.

9 participants