[PATCH 0/2] ALSA: memalloc: Use proper DMA mapping API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



This is a further cleanup of memalloc core stuff to do behave
more correctly regarding DMA API.  Formerly some x86-specific code
relied on the address from the page allocators, but rather we should
map correctly the pages with DMA mapping API.  With those fixes, the
fallback allocation should work more properly, so we can drop the
hackish check, too.


Takashi

===

Takashi Iwai (2):
  ALSA: memalloc: Use proper DMA mapping API for x86 WC buffer
    allocations
  ALSA: memalloc: Use proper DMA mapping API for x86 S/G buffer
    allocations

 sound/core/memalloc.c | 127 ++++++++++++++++++++++--------------------
 1 file changed, 67 insertions(+), 60 deletions(-)

-- 
2.43.0





[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux