All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] ALSA: firewire-lib: keep history to process isochronous packet
@ 2023-01-09  2:17 Takashi Sakamoto
  2023-01-09  2:17 ` [PATCH 1/3] ALSA: firewire-lib: use circular linked list to enumerate packet descriptors Takashi Sakamoto
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Takashi Sakamoto @ 2023-01-09  2:17 UTC (permalink / raw)
  To: tiwai; +Cc: alsa-devel, clemens

Hi,

This patchset is preparation for computation of extra delay in runtime of
PCM substream.

Current implementation uses list of packet descriptor to process
isochronous packets. The packet descriptors are overwritten every time to
process packets, while the history of packet descriptors is useful when
computing gap between current isochronous cycle and the latest isochronous
cycle in which isochronous packet is processed or scheduled.

Conveniently, circular linked list was added to Linux kernel v5.19 at a
commit 2fbdf45d7d26 ("list: Add list_next_entry_circular() and
list_prev_entry_circular()"). This patchset changes data structure from
list to the circular linked list for the packet descriptors.


Takashi Sakamoto (3):
  ALSA: firewire-lib: use circular linked list to enumerate packet
    descriptors
  ALSA: firewire-lib: use circular linked list for context payload
    processing layer
  ALSA: firewire-lib: store history to process isochronous packet

 sound/firewire/amdtp-am824.c                  | 18 +++---
 sound/firewire/amdtp-stream.c                 | 61 ++++++++++++-------
 sound/firewire/amdtp-stream.h                 | 17 +++++-
 sound/firewire/digi00x/amdtp-dot.c            | 18 +++---
 sound/firewire/fireface/amdtp-ff.c            | 18 +++---
 sound/firewire/motu/amdtp-motu.c              | 48 ++++++++-------
 .../motu/motu-command-dsp-message-parser.c    | 11 ++--
 .../motu/motu-register-dsp-message-parser.c   | 11 ++--
 sound/firewire/motu/motu.h                    |  8 +--
 sound/firewire/tascam/amdtp-tascam.c          | 18 +++---
 10 files changed, 139 insertions(+), 89 deletions(-)

-- 
2.37.2


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

end of thread, other threads:[~2023-01-09 16:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-09  2:17 [PATCH 0/3] ALSA: firewire-lib: keep history to process isochronous packet Takashi Sakamoto
2023-01-09  2:17 ` [PATCH 1/3] ALSA: firewire-lib: use circular linked list to enumerate packet descriptors Takashi Sakamoto
2023-01-09  2:17 ` [PATCH 2/3] ALSA: firewire-lib: use circular linked list for context payload processing layer Takashi Sakamoto
2023-01-09  2:17 ` [PATCH 3/3] ALSA: firewire-lib: keep history to process isochronous packet Takashi Sakamoto
2023-01-09 16:05 ` [PATCH 0/3] " Takashi Iwai

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.