Re: Getting physical address of the DMA buffer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pharaoh . wrote:
> I have allocated the DMA buffer using snd_pcm_lib_malloc_pages() and
> it was preallocated as:
> 
> snd_pcm_lib_preallocate_pages_for_all(pcm,
>                                       SNDRV_DMA_TYPE_CONTINUOUS,
>                                       snd_dma_continuous_data
>                                       (GFP_KERNEL),

SNDRV_DMA_TYPE_CONTINUOUS is for a buffer that cannot be accessed
over DMA.

What kind of bus does your hardware use, and how would you
allocate memory for it?


Regards,
Clemens
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux