Skip to contentSkip to conversation

DMA interrupt not getting triggered

DISCUSSION ANISH KUMAR 3 participants 3 messages Feb 5, 2010

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
Quoted 3 lines · ANISH KUMAR

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.

Signature · 4 lines
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.
#2 lore raw
In reply to ANISH KUMAR
Quoted 3 lines · ANISH KUMAR

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.