Commit 08cf3d2
Revert "ipc4: relax the IPC timeout checks and be nicer to other threads"
When a stream is triggered to start, host kernel first sendis trigger
start ipc message to fw and then start host dma for this stream.
Ipc_wait_for_compound_msg is used to wait for all pipelines in the
stream to be complete and need to be done fast since it blocks host
to start hda dma. The reverted commit adds a 10 ms delay and results
to host copier xrun warning for it can't get data from host dma.
And this commit also makes a negative effect for stream_start_offset
calculation which is for the difference between dai gateway and
host gateway. We calculate it in host start function but host dma is
started 10ms later, so there will be at least 10ms data error.
This reverts commit 909a327.
Signed-off-by: Rander Wang <rander.wang@intel.com>1 parent 6a2eba1 commit 08cf3d2
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
513 | | - | |
514 | 513 | | |
515 | 514 | | |
516 | | - | |
| 515 | + | |
517 | 516 | | |
518 | 517 | | |
519 | | - | |
| 518 | + | |
520 | 519 | | |
521 | 520 | | |
522 | 521 | | |
| |||
0 commit comments