All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Cc: alsa-devel@alsa-project.org, clemens@ladisch.de,
	ffado-devel@lists.sf.net
Subject: Re: [RFC][PATCH 0/8] ALSA: dice: constrain PCM substreams to current sampling transfer frequency
Date: Thu, 19 Nov 2015 11:19:47 +0100	[thread overview]
Message-ID: <s5hziyab8ak.wl-tiwai@suse.de> (raw)
In-Reply-To: <564D4360.8050503@sakamocchi.jp>

On Thu, 19 Nov 2015 04:34:56 +0100,
Takashi Sakamoto wrote:
> 
> Hi,
> 
> On Nov 18 2015 23:13, Takashi Iwai wrote:
> > On Sun, 15 Nov 2015 10:25:28 +0100,
> > Takashi Sakamoto wrote:
> >>
> >> Hi,
> >>
> >> This patchset adds a constrain to ALSA dice driver to start PCM
> >> substreams and AMDTP packet transferring just at current sampling
> >> transfer frequency.
> >>
> >> Dice hardware doesn't allow drivers to get supported combinations
> >> between sampling rate and PCM channels. ALSA dice driver should follow
> >> to the hardware design, though current ALSA driver has some
> >> over-specifications. As a result, the driver has several issue and
> >> brings inconvenience to users.
> >>
> >> This patchset consists of two parts:
> >>   * 01-05: to add constrain to current sampling transfer frequency and related
> >> 	  code cleanup
> >>   * 06-08: to ensure and stabilize AMDTP packet transmission
> >>
> >> As a result, userspace applications can request PCM substreams at current
> >> sampling transfer frequency. Therefore, when users want to start PCM
> >> substreams at different rate, they should set the rate in advance by the
> >> other ways (i.e. ffado-dbus-server/ffado-mixer).
> >
> > This sounds rather like a step backward.  Why can't the driver set the
> > rate if it's the only first and exclusive user?
> 
> I think you misunderstanding about the main reason of this patch.
> 
> Users are allowed to set their favorite sampling rate to Dice device. 
> But it should be achieved by ways except for PCM functionality in ALSA 
> dice driver, due to some reasons.

By which reasons?  And may this be seen as a regression?

> Which part of this patchset should I explain? I described all of the 
> reasons in each patch. Due to Dice framewotk, due to the design of unit 
> drivers in Linux FireWire subsystem, due to basic principle for driver 
> developers, and so on.

Well, the biggest missing piece is the information about the usage.
Most of commit messages are spent for the technical details in the
code you're changing.  It's good, per se, but it alone is not enough;
why this patchset is mandatory and how it changes the world aren't
explained enough.

More specifically, although this patchset can be seen as a "bug fix",
the bug you're trying to address isn't clear.  And then, what impact
this patchset has for users isn't described enough.  If there is no
usage change, it should be mentioned clearly.  If any usage change is
expected, it must be written.


thanks,

Takashi

  reply	other threads:[~2015-11-19 10:19 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-15  9:25 [RFC][PATCH 0/8] ALSA: dice: constrain PCM substreams to current sampling transfer frequency Takashi Sakamoto
2015-11-15  9:25 ` [PATCH 1/8] ALSA: dice: limit " Takashi Sakamoto
2015-11-15  9:25 ` [PATCH 2/8] ALSA: dice: limit stream " Takashi Sakamoto
2015-11-15  9:25 ` [PATCH 3/8] ALSA: dice: add MIDI ports according to current number of MIDI substreams Takashi Sakamoto
2015-11-15  9:25 ` [PATCH 4/8] ALSA: dice: get the number of MBLA data channel at opening PCM substream Takashi Sakamoto
2015-11-15  9:25 ` [PATCH 5/8] ALSA: dice: purge generating channel cache Takashi Sakamoto
2015-11-20  0:15   ` Stefan Richter
2015-11-15  9:25 ` [PATCH 6/8] ALSA: dice: ensure phase lock before starting streaming Takashi Sakamoto
2015-11-15  9:25 ` [PATCH 7/8] ALSA: dice: expand timeout to wait for Dice notification Takashi Sakamoto
2015-11-15  9:25 ` [PATCH 8/8] ALSA: dice: wait for ensuring phase lock Takashi Sakamoto
2015-11-18 14:13 ` [RFC][PATCH 0/8] ALSA: dice: constrain PCM substreams to current sampling transfer frequency Takashi Iwai
2015-11-19  3:34   ` Takashi Sakamoto
2015-11-19 10:19     ` Takashi Iwai [this message]
2015-11-20  4:11       ` Takashi Sakamoto
2015-11-20  9:25         ` Takashi Iwai
2015-11-20 11:19           ` Takashi Sakamoto
2015-11-20 11:29             ` Takashi Iwai
2015-11-21  0:29               ` Takashi Sakamoto
2015-11-21  9:46                 ` Takashi Iwai
2015-11-24 15:04                   ` Takashi Sakamoto
2015-11-24 15:33                     ` Takashi Iwai
2015-11-25  0:08                       ` Takashi Sakamoto

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=s5hziyab8ak.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    --cc=ffado-devel@lists.sf.net \
    --cc=o-takashi@sakamocchi.jp \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.