Commit 0769156
[PANIC TEST] dai_zephyr: Silence benign warnings
Trying to reproduce DSP panic #8621
-------
The DAI emits a flood of warnings when presented with empty buffers at
copy time. That's not really a reasonable warning condition. There
are multiple situations where components upstream may be paused or
asynchronous, leading to starvation in any given cycle.
Earlier code has hit this with paused components, where the log
messages are merely annoying.
One new situation is that when using the DP scheduler, updates are
async and may happen at a different cadence than the pipeline the DAI
is on; the upstream component will be presented with data in a (for
example) 1ms pipeline tick, but then send it to a different component
(echo cancellation, say) that batches it up into larger buffers (10ms)
and releases it downstream only at the slower cadence.
In that situation the flood of messages is being emitted during an
active stream, and tends to cause glitches all by itself after a few
seconds (and even where it doesn't, it floods the Zephyr log backend
to the extent that literally every message is dropped).
(I don't know that all such warnigns are removed by this patch. These
are only the ones I've seen in practice.)
Fixes #4672
Signed-off-by: Andy Ross <andyross@google.com>
(cherry picked from commit 514576e)1 parent d11f724 commit 0769156
1 file changed
+0
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1286 | 1286 | | |
1287 | 1287 | | |
1288 | 1288 | | |
1289 | | - | |
1290 | | - | |
1291 | 1289 | | |
1292 | 1290 | | |
1293 | 1291 | | |
| |||
1460 | 1458 | | |
1461 | 1459 | | |
1462 | 1460 | | |
1463 | | - | |
1464 | | - | |
1465 | | - | |
1466 | | - | |
1467 | | - | |
1468 | | - | |
1469 | | - | |
1470 | | - | |
1471 | | - | |
1472 | | - | |
1473 | 1461 | | |
1474 | 1462 | | |
1475 | | - | |
1476 | 1463 | | |
1477 | 1464 | | |
1478 | 1465 | | |
| |||
0 commit comments