diff options
author | Mark Brown <broonie@kernel.org> | 2025-10-02 18:07:06 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-10-02 18:07:06 +0100 |
commit | aefada95fbab74035aca62e3ab80f93fe91d2d58 (patch) | |
tree | df2a26396089bda81ecea26ad4d411e94e4811d4 /rust/kernel/debugfs/file_ops.rs | |
parent | bace10b59624e6bd8d68bc9304357f292f1b3dcf (diff) | |
parent | 45ad27d9a6f7c620d8bbc80be3bab1faf37dfa0a (diff) |
ASoC: SOF: ipc4/Intel: Fix the host buffer
Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:
The size of the DSP host buffer was incorrectly defined as 2ms while
it is 4ms and the ChainDMA PCMs are using 5ms as host facing buffer.
The constraint will be set against the period time rather than the buffer
time to make sure that application will not face with xruns when the
DMA bursts to refill the host buffer.
The minimal period size will be also used by Pipewire in case of SOF
cards to set the headroom to a length which will avoid the cases when
the hw_ptr jumps over the appl_ptr because of a burst.
Iow, it will make Pipewire to keep a safe distance from the hw_ptr.
https://github.com/thesofproject/linux/issues/5284
https://gitlab.freedesktop.org/pipewire/wireplumber/-/merge_requests/740
https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/2548
Diffstat (limited to 'rust/kernel/debugfs/file_ops.rs')
0 files changed, 0 insertions, 0 deletions