Skip to content
Commit cc6a8acd authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: Fix SG-buffer DMA with non-coherent architectures



Using SG-buffers with dma_alloc_coherent() is often very inefficient
on non-coherent architectures because a tracking record could be
allocated in addition for each dma_alloc_coherent() call.
Instead, simply disable SG-buffers but just allocate normal continuous
buffers on non-supported (currently all but x86) architectures.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 8e4a718f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment