mmap dma address

Gabriel Johnson johnsoga at gmail.com
Sat May 2 01:03:41 EST 2009


Could someone tell me how to mmap a dma buffer allocated with
dma_alloc_coherent?  I have found some patches that Takashi Iwai
submitted to create a dma_mmap_coherent function but it doesn't look
like its been accepted upstream, is there a reason why?  Is there a
better way for mmaping a dma address?  I am trying to get mmaping
working on a mpc5121e i2s audio driver so that I can do alsa audio
mixing.

Thanks,
Gabe



More information about the Linuxppc-dev mailing list