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

Takashi Iwai tiwai at suse.de
Thu Oct 14 17:36:59 CEST 2021


Hi,

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