Skip to content

ALSA: Support for non-contiguous and non-coherent page allocations

Takashi Iwai alsa-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v13 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ALSA: memalloc: Support for non-contiguous page allocationinclude/sound/memalloc.h sound/core/memalloc.c sound/core/memalloc_local.h +4 more+180 -150 replies
2/3ALSA: memalloc: Support for non-coherent page allocationinclude/sound/memalloc.h sound/core/memalloc.c+48 -00 replies
3/3ALSA: memalloc: Convert x86 SG-buffer handling with non-contiguous typeinclude/sound/memalloc.h sound/core/Makefile sound/core/memalloc.c +1 more+54 -2130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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
Signature · 1 line
2.26.2