ALSA: memalloc: Support non-coherent page allocation

This patch adds the new non-coherent contiguous page allocation to the
standard memalloc helper.  Like the previous patch to add the
non-contig SG-buffer support, this non-coherent type is also direction
and requires the explicit sync, too.  Hence the driver using this type
of buffer would have to set SNDRV_PCM_INFO_SYNC_APPLPTR and
SNDRV_PCM_INFO_NO_STATUS_MMAP flags to the PCM hardware.info.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2 files changed