Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH 0/2] ALSA: memalloc: Use proper DMA mapping API
@ 2024-09-12 15:52 Takashi Iwai
  2024-09-12 15:52 ` [PATCH 1/2] ALSA: memalloc: Use proper DMA mapping API for x86 WC buffer allocations Takashi Iwai
  2024-09-12 15:52 ` [PATCH 2/2] ALSA: memalloc: Use proper DMA mapping API for x86 S/G " Takashi Iwai
  0 siblings, 2 replies; 3+ messages in thread
From: Takashi Iwai @ 2024-09-12 15:52 UTC (permalink / raw)
  To: linux-sound

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-09-12 15:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-12 15:52 [PATCH 0/2] ALSA: memalloc: Use proper DMA mapping API Takashi Iwai
2024-09-12 15:52 ` [PATCH 1/2] ALSA: memalloc: Use proper DMA mapping API for x86 WC buffer allocations Takashi Iwai
2024-09-12 15:52 ` [PATCH 2/2] ALSA: memalloc: Use proper DMA mapping API for x86 S/G " Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox