OSDN Git Service

ALSA: memalloc: Support WC allocation on all architectures
authorTakashi Iwai <tiwai@suse.de>
Mon, 2 Aug 2021 07:28:04 +0000 (09:28 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 4 Aug 2021 06:08:14 +0000 (08:08 +0200)
commitd5c5055816740bd26f3c0095e7f5e63dfa4bbdf8
treef35c136323d52bf453f8843e8820d955b1b40634
parentac9245a5406e6074a1aa211f103629d3f154c5a5
ALSA: memalloc: Support WC allocation on all architectures

There are the generic DMA API calls for allocating and managing the
pages with the write-combined attribute.  Let's use them for all
architectures but x86; x86 still needs the special handling to
override the page attributes.

Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210802072815.13551-5-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/memalloc.c