Skip to content
  • Takashi Iwai's avatar
    ALSA: Fix SG-buffer DMA with non-coherent architectures · cc6a8acd
    Takashi Iwai authored
    
    
    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>
    cc6a8acd