Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Subhransu S. Prusty" <subhransu.s.prusty@intel.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: patches.audio@intel.com, alsa-devel@alsa-project.org,
	broonie@kernel.org, lgirdwood@gmail.com
Subject: Re: [PATCH 0/7] ALSA: Add rewinds disabled, delays, max_inflight_bytes
Date: Mon, 3 Oct 2016 09:58:44 +0530	[thread overview]
Message-ID: <20161003042840.GA23816@subhransu-desktop> (raw)
In-Reply-To: <s5hbmz53500.wl-tiwai@suse.de>

On Fri, Sep 30, 2016 at 03:13:19PM +0200, Takashi Iwai wrote:
> 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.

Sure. I will send separate patch series for each of them.

> 
> 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?).

No I think. Considering the SPIB usecases, user may decide to use SPIB or not.

Regards,
Subhransu

> 
> 
> 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
> > 

-- 

      reply	other threads:[~2016-10-03  4:35 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-30 12:43 [PATCH 0/7] ALSA: Add rewinds disabled, delays, max_inflight_bytes Subhransu S. Prusty
2016-09-30 12:43 ` [PATCH 1/7] ALSA: core: let low-level driver or userspace disable rewinds Subhransu S. Prusty
2016-09-30 13:22   ` Takashi Iwai
2016-10-03  4:40     ` Subhransu S. Prusty
2016-10-03 14:39       ` Pierre-Louis Bossart
2016-10-21 15:57         ` Takashi Iwai
2016-09-30 12:43 ` [PATCH 2/7] ALSA: core: add .update_appl_ptr callback for pcm ops Subhransu S. Prusty
2016-09-30 13:24   ` Takashi Iwai
2016-09-30 17:20     ` Vinod Koul
2016-09-30 18:38       ` Takashi Iwai
2016-10-03  4:36         ` Vinod Koul
2016-10-03 14:49         ` Pierre-Louis Bossart
2016-09-30 12:43 ` [PATCH 3/7] ALSA: pcm: avoid mmap of control data if .update_appl_ptr is implemented Subhransu S. Prusty
2016-09-30 13:40   ` Takashi Iwai
2016-10-03  4:43     ` Subhransu S. Prusty
2016-09-30 12:43 ` [PATCH 4/7] ALSA: core: add report of max inflight bytes Subhransu S. Prusty
2016-09-30 13:44   ` Takashi Iwai
2016-09-30 12:43 ` [PATCH 5/7] ALSA: hda: add default value for max_inflight_bytes Subhransu S. Prusty
2016-10-03  8:48   ` Hardik Shah
2016-10-03 14:44     ` Pierre-Louis Bossart
2016-09-30 12:43 ` [PATCH 6/7] ALSA: usb: no_period_wake and max_inflight_bytes report Subhransu S. Prusty
2016-09-30 12:43 ` [PATCH 7/7] ALSA: usb: take startup delay into account Subhransu S. Prusty
2016-09-30 13:44   ` Takashi Iwai
2016-10-03 15:04     ` Pierre-Louis Bossart
2016-10-21 16:00       ` Takashi Iwai
2016-10-03  6:46   ` Takashi Sakamoto
2016-10-03 15:08     ` Pierre-Louis Bossart
2016-10-03 17:31       ` Takashi Sakamoto
2016-09-30 13:13 ` [PATCH 0/7] ALSA: Add rewinds disabled, delays, max_inflight_bytes Takashi Iwai
2016-10-03  4:28   ` Subhransu S. Prusty [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161003042840.GA23816@subhransu-desktop \
    --to=subhransu.s.prusty@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=patches.audio@intel.com \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox