[PATCH 0/3] ALSA: firewire-lib: keep history to process isochronous packet

Takashi Iwai tiwai at suse.de
Mon Jan 9 17:05:34 CET 2023


On Mon, 09 Jan 2023 03:17:35 +0100,
Takashi Sakamoto wrote:
> 
> 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

Applied now to for-next branch.  Thanks.


Takashi


More information about the Alsa-devel mailing list