On Fri, 12 Mar 2004, Gupta, Kshitij wrote: > hi, > > Even thought the SA11xx ARM platform DMA engine has a queueing > mechanism (as you mentioned), it is not being utilized. Since we are > queueing(or starting) the next dma transfer in the interrupt context, and we > recieve this interrupt only when the previous dma transfer ends. Queueing
It's bad usage. For SA11xx (see sa1100_start_dma function in 2.6 kernels), you can queue one buffer while other is running. So, you need to queue two blocks (periods) at the start of stream in trigger() and later - in the interrupt contents - queue next period ahead. I admit that the current SA11xx code in ALSA driver is for 2.4 kernels where the queuing mechanism was not very good. Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project, SuSE Labs ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel