alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [alsa-devel] [PATCH 00/17] firewire: share the size of period for both playback and capture PCM substreams
@ 2019-10-07 11:05 Takashi Sakamoto
  2019-10-07 11:05 ` [alsa-devel] [PATCH 01/17] firewire-lib: add a member into AMDTP domain for events per period Takashi Sakamoto
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: Takashi Sakamoto @ 2019-10-07 11:05 UTC (permalink / raw)
  To: clemens, tiwai; +Cc: alsa-devel

Hi,

This patchset is a preparation for enhancement of AMDTP domain that I
addressed to my previous patchset:
https://mailman.alsa-project.org/pipermail/alsa-devel/2019-July/152430.html

When queued packets for several IT/IR contexts in the same domain are
handled in hardware IRQ context for an IT context, the number of events
in the packets are mostly the same for each of contexts. This means that
the size of period for PCM substreams associated to the contexts is also
the same.

At present, PCM substreams for the contexts can have own size of period.
This commit adds a member into AMDTP domain to share the size of period
for PCM substreams on AMDTP streams in the same domain.

This patchset includes optimization to detect whether isochronous
resources for AMDTP streams are reserved or not in pcm.open callback.

Takashi Sakamoto (17):
  firewire-lib: add a member into AMDTP domain for events per period
  bebob: register the size of PCM period to AMDTP domain
  fireworks: register the size of PCM period to AMDTP domain
  oxfw: register the size of PCM period to AMDTP domain
  dice: register the size of PCM period to AMDTP domain
  firewire-digi00x: register the size of PCM period to AMDTP domain
  firewire-tascam: register the size of PCM period to AMDTP domain
  firewire-motu: register the size of PCM period to AMDTP domain
  fireface: register the size of PCM period to AMDTP domain
  bebob: use the same size of period for PCM substream in AMDTP streams
  fireworks: use the same size of period for PCM substream in AMDTP
    streams
  oxfw: use the same size of period for PCM substream in AMDTP streams
  dice: use the same size of period for PCM substream in AMDTP streams
  firewire-digi00x: use the same size of period for PCM substream in
    AMDTP streams
  firewire-tascam: use the same size of period for PCM substream in
    AMDTP streams
  firewire-motu: use the same size of period for PCM substream in AMDTP
    streams
  fireface: use the same size of period for PCM substreams in AMDTP
    streams

 sound/firewire/amdtp-stream.c               |  4 ++
 sound/firewire/amdtp-stream.h               | 10 +++++
 sound/firewire/bebob/bebob.h                |  3 +-
 sound/firewire/bebob/bebob_midi.c           |  2 +-
 sound/firewire/bebob/bebob_pcm.c            | 43 ++++++++++++------
 sound/firewire/bebob/bebob_stream.c         | 11 ++++-
 sound/firewire/dice/dice-midi.c             |  2 +-
 sound/firewire/dice/dice-pcm.c              | 50 +++++++++++++++------
 sound/firewire/dice/dice-stream.c           |  8 +++-
 sound/firewire/dice/dice.h                  |  3 +-
 sound/firewire/digi00x/digi00x-midi.c       |  2 +-
 sound/firewire/digi00x/digi00x-pcm.c        | 39 ++++++++++++----
 sound/firewire/digi00x/digi00x-stream.c     | 11 ++++-
 sound/firewire/digi00x/digi00x.h            |  3 +-
 sound/firewire/fireface/ff-pcm.c            | 32 ++++++++++---
 sound/firewire/fireface/ff-stream.c         | 11 ++++-
 sound/firewire/fireface/ff.h                |  3 +-
 sound/firewire/fireworks/fireworks.h        |  3 +-
 sound/firewire/fireworks/fireworks_midi.c   |  2 +-
 sound/firewire/fireworks/fireworks_pcm.c    | 43 +++++++++++++-----
 sound/firewire/fireworks/fireworks_stream.c | 11 ++++-
 sound/firewire/motu/motu-midi.c             |  2 +-
 sound/firewire/motu/motu-pcm.c              | 33 ++++++++++----
 sound/firewire/motu/motu-stream.c           | 11 ++++-
 sound/firewire/motu/motu.h                  |  3 +-
 sound/firewire/oxfw/oxfw-midi.c             |  4 +-
 sound/firewire/oxfw/oxfw-pcm.c              | 45 +++++++++++++------
 sound/firewire/oxfw/oxfw-stream.c           | 12 ++++-
 sound/firewire/oxfw/oxfw.h                  |  3 +-
 sound/firewire/tascam/tascam-pcm.c          | 38 ++++++++++++----
 sound/firewire/tascam/tascam-stream.c       | 11 ++++-
 sound/firewire/tascam/tascam.h              |  3 +-
 32 files changed, 354 insertions(+), 107 deletions(-)

-- 
2.20.1

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2019-10-17  7:42 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-07 11:05 [alsa-devel] [PATCH 00/17] firewire: share the size of period for both playback and capture PCM substreams Takashi Sakamoto
2019-10-07 11:05 ` [alsa-devel] [PATCH 01/17] firewire-lib: add a member into AMDTP domain for events per period Takashi Sakamoto
2019-10-07 11:05 ` [alsa-devel] [PATCH 02/17] bebob: register the size of PCM period to AMDTP domain Takashi Sakamoto
2019-10-07 11:05 ` [alsa-devel] [PATCH 03/17] fireworks: " Takashi Sakamoto
2019-10-07 11:05 ` [alsa-devel] [PATCH 04/17] oxfw: " Takashi Sakamoto
2019-10-07 11:05 ` [alsa-devel] [PATCH 05/17] dice: " Takashi Sakamoto
2019-10-07 11:05 ` [alsa-devel] [PATCH 06/17] firewire-digi00x: " Takashi Sakamoto
2019-10-07 11:05 ` [alsa-devel] [PATCH 07/17] firewire-tascam: " Takashi Sakamoto
2019-10-07 11:05 ` [alsa-devel] [PATCH 08/17] firewire-motu: " Takashi Sakamoto
2019-10-07 11:05 ` [alsa-devel] [PATCH 09/17] fireface: " Takashi Sakamoto
2019-10-07 11:05 ` [alsa-devel] [PATCH 10/17] bebob: use the same size of period for PCM substream in AMDTP streams Takashi Sakamoto
2019-10-07 11:05 ` [alsa-devel] [PATCH 11/17] fireworks: " Takashi Sakamoto
2019-10-07 11:05 ` [alsa-devel] [PATCH 12/17] oxfw: " Takashi Sakamoto
2019-10-07 11:05 ` [alsa-devel] [PATCH 13/17] dice: " Takashi Sakamoto
2019-10-07 11:05 ` [alsa-devel] [PATCH 14/17] firewire-digi00x: " Takashi Sakamoto
2019-10-07 11:05 ` [alsa-devel] [PATCH 15/17] firewire-tascam: " Takashi Sakamoto
2019-10-07 11:05 ` [alsa-devel] [PATCH 16/17] firewire-motu: " Takashi Sakamoto
2019-10-07 11:05 ` [alsa-devel] [PATCH 17/17] fireface: use the same size of period for PCM substreams " Takashi Sakamoto
2019-10-17  7:41 ` [alsa-devel] [PATCH 00/17] firewire: share the size of period for both playback and capture PCM substreams Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).