[alsa-devel] [PATCH 0/7] ALSA: Add rewinds disabled, delays, max_inflight_bytes
Takashi Iwai
tiwai at suse.de
Fri Sep 30 15:13:19 CEST 2016
On Fri, 30 Sep 2016 14:43:23 +0200,
Subhransu S. Prusty wrote:
>
> Set of patches to fix issues with delays, hw_ptr fuzziness [1] and
> increased buffering w/ DSPs
>
> 1. Rewinds can be disabled when data written in ring buffer will never be
> validated. This allow for new HDaudio SPIB DMA functionality(allow fetch up to the
> application pointer, no rewind supported)
>
> 2. Report max in-flight bytes to avoid problems with stale data (like late
> wake-ups, rewinds)
>
> 3. add new estimate for USB startup delay.
Well, all these three are really individual and independent features.
So, please send three patch sets instead.
For example, I would apply the USB startup delay fix easily, while the
inflight bytes feature needs more discussion. The rewind disablement
needs a bit more discussion (e.g. can it be disabled from the driver
side as well?).
thanks,
Takashi
>
> [1]
> http://mailman.alsa-project.org/pipermail/alsa-devel/2015-June/093646.html
>
>
> Pierre-Louis Bossart (6):
> ALSA: core: let low-level driver or userspace disable rewinds
> ALSA: core: add .update_appl_ptr callback for pcm ops
> ALSA: core: add report of max inflight bytes
> ALSA: hda: add default value for max_inflight_bytes
> ALSA: usb: no_period_wake and max_inflight_bytes report
> ALSA: usb: take startup delay into account
>
> Ramesh Babu (1):
> ALSA: pcm: avoid mmap of control data if .update_appl_ptr is
> implemented
>
> include/sound/pcm.h | 4 +++
> include/uapi/sound/asound.h | 6 ++--
> sound/core/pcm_lib.c | 26 ++++++++++++++++++
> sound/core/pcm_native.c | 51 +++++++++++++++++++++++++++++++++-
> sound/pci/hda/hda_controller.c | 1 +
> sound/usb/card.h | 1 +
> sound/usb/pcm.c | 62 +++++++++++++++++++++++++++++++++++++-----
> 7 files changed, 141 insertions(+), 10 deletions(-)
>
> --
> 1.9.1
>
More information about the Alsa-devel
mailing list