[alsa-devel] DMA interrupt not getting triggered

I am facing problem related to DMA interrupt not getting triggered some times(out of 5 times one time it is happening) causing application to wait for the buffers(hw_ptr = 0) and no sound because of this. I am using samsung soc with DMA controller PL080.I tried increasing periods_min to 4 but still no result. I am using 2.6.29 kernel version.

On Fri, Feb 05, 2010 at 08:17:17AM +0000, ANISH KUMAR wrote:
I am facing problem related to DMA interrupt not getting triggered some times(out of 5 times one time it is happening) causing application to wait for the buffers(hw_ptr = 0) and no sound because of this. I am using samsung soc with DMA controller PL080.I tried increasing periods_min to 4 but still no result. I am using 2.6.29 kernel version.
Which board are you trying this on?
There may be some improvements with the DMA code in newer kernels, it would be worth trying 2.6.33 and seeing if that has the same problem. There was a problem with the circular DMA code failing to be fully merged which caused problems including a resource exhaustion.

On Fri, Feb 5, 2010 at 5:17 PM, ANISH KUMAR anish.singh@samsung.com wrote:
I am facing problem related to DMA interrupt not getting triggered some times(out of 5 times one time it is happening) causing application to wait for the buffers(hw_ptr = 0) and no sound because of this. I am using samsung soc with DMA controller PL080.I tried increasing periods_min to 4 but still no result. I am using 2.6.29 kernel version.
As I already suggested you on direct online chat, your best bet is to either switch to newer kernel or backport latest dma driver(if ur customer demands 2.6.29). Although it might just be ur test application/method.
participants (3)
-
ANISH KUMAR
-
Ben Dooks
-
jassi brar