[PATCH v2 0/3] ALSA: Support for non-contiguous and non-coherent page allocations

Takashi Iwai tiwai at suse.de
Sun Oct 17 09:48:56 CEST 2021


Hi,

this is a revised patchset that is created from the latest code.
The previous one caused a slight conflict with the recent changes,
also some patch descriptions have been updated.

***

Here is a patch set to add the support for non-contiguous and
non-coherent page allocations to the ALSA core memalloc helpers.
Currently no driver is using, but this also gave a nice cleanup for
the existing SG-buffer helpers on x86.


Takashi

===

Takashi Iwai (3):
  ALSA: memalloc: Support for non-contiguous page allocation
  ALSA: memalloc: Support for non-coherent page allocation
  ALSA: memalloc: Convert x86 SG-buffer handling with non-contiguous
    type

 include/sound/memalloc.h    |  61 +++++++++--
 sound/core/Makefile         |   1 -
 sound/core/memalloc.c       | 207 +++++++++++++++++++++++++++++++++---
 sound/core/memalloc_local.h |   1 +
 sound/core/pcm_lib.c        |   3 +
 sound/core/pcm_local.h      |   7 ++
 sound/core/pcm_memory.c     |  13 ++-
 sound/core/pcm_native.c     |  16 +++
 sound/core/sgbuf.c          | 201 ----------------------------------
 9 files changed, 282 insertions(+), 228 deletions(-)
 delete mode 100644 sound/core/sgbuf.c

-- 
2.26.2



More information about the Alsa-devel mailing list