-
Notifications
You must be signed in to change notification settings - Fork 142
Description
Describe the bug
"Program transport params failed: -22" occured during multipipline stress test, but aplay function will not be effected.
Issue can be reproduced with MSI interrupt mode and legacy interrupt mode.
To Reproduce
1.Boot up system;
2.Run "./multiplex_pipeline-test.sh pcm0p pcm2p pcm1c pcm3c pcm4c";
Scripts:
multiplex_pipeline-test.txt
Reproduce rate
1st try: 16/100;
2nd try:12/100;
Expected result
Multipipline works normally.
Actual result
"Program transport params failed: -22" occured during multipipline stress test.
dmesg
[ 501.586917] intel-sdw sdw-master-0: intel_hw_params: SDW0 Pin3: start
[ 501.586953] sof-audio-pci 0000:00:1f.3: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[ 501.587056] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
[ 501.587069] sof-audio-pci 0000:00:1f.3: nothing to do in IPC IRQ thread
[ 501.587230] rt711 sdw:0:25d:711:0: [rt711_sdw_write] 00e0 <= 0003
[ 501.587288] rt711 sdw:0:25d:711:0: [rt711_sdw_write] 00f0 <= 0003
[ 501.587291] rt711 sdw:0:25d:711:0: rt711_clock_config complete, clk_freq=4800000
[ 501.587293] intel-sdw sdw-master-0: Program transport params failed: -22
[ 501.587298] intel-sdw sdw-master-0: Program params failed: -22
[ 501.587303] sdw_enable_stream: SDW0 Pin2-Playback: done
[ 501.587307] intel-sdw sdw-master-0: intel_trigger trigger 1 failed: -22
[ 501.587308] intel-sdw sdw-master-0: intel_hw_params: SDW0 Pin3: done
[ 501.587311] intel-sdw sdw-master-0: Update DAI routes for SDW0 Pin3 capture
[ 501.587315] intel-sdw sdw-master-0: intel_trigger: SDW0 Pin2: done
[ 501.587317] SDW0-mics: ASoC: hw_params FE SDW0-mics rate 48000 chan 2 fmt 2
[ 501.587320] sof-audio-pci 0000:00:1f.3: Update DAI routes for SDW0-mics 1 capture
[ 501.587322] SDW0-Playback: ASoC: trigger BE failed -22
[ 501.587324] sof-audio-pci 0000:00:1f.3: Connecting DAI route PCM1C -> Passthrough Capture 1
[ 501.587326] sof-audio-pci 0000:00:1f.3: pcm: hw params stream 1 dir 1
[ 501.587329] SDW0-headphone: ASoC: trigger FE cmd: 1 failed: -22
[ 501.587332] sof-audio-pci 0000:00:1f.3: generating page table for 000000002e0a4024 size 0xffc0 pages 16
[ 501.587336] SDW0-headphone: ASoC: pre trigger FE SDW0-headphone cmd 0
[ 501.587340] sof-audio-pci 0000:00:1f.3: pcm: trigger stream 0 dir 0 cmd 0
[ 501.587342] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x40000 successful
[ 501.587345] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60050000: GLB_STREAM_MSG: TRIG_STOP
[ 501.587373] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x40000 successful
[ 501.587376] sof-audio-pci 0000:00:1f.3: period_bytes:0x3fc0
[ 501.587377] sof-audio-pci 0000:00:1f.3: periods:4
sof error trace:
CORE LEVEL COMP_ID TIMESTAMP DELTA FILE_NAME CONTENT
0 1 SA 992692582.656250 992692608.000000 src/lib/agent.c:55 validate(), ll drift detected, delta = 41475
0 1 SA 992710650.416667 18067.759766 src/lib/agent.c:55 validate(), ll drift detected, delta = 40411
0 1 SA 992712786.822917 2136.406250 src/lib/agent.c:55 validate(), ll drift detected, delta = 41022
0 1 SA 992714910.937500 2124.114502 src/lib/agent.c:55 validate(), ll drift detected, delta = 40780
Test recipe
Kernel:https://github.com/thesofproject/linux/tree/integration/soundwire-latest commit: 1bb06ec
FW: https://github.com/thesofproject/sof/commits/master commit: decd206
Tplg: Same with TGL FW branch commit: sof-tgl-rt711-rt1308-nohdmi.tplg rename to sof-tgl-rt711-rt1308.tplg
Platform:TGL RVP with onboard ACL711 in SDW mod and ALC1308 in I2S mode.
multipipeline_test_40_dmesg.log
multipipeline_test_40_all_logger.log
multipipeline_test_40_error_logger.log