* DMA interrupt not getting triggered
@ 2010-02-05 8:17 ANISH KUMAR
2010-02-05 8:27 ` Ben Dooks
2010-02-05 8:35 ` jassi brar
0 siblings, 2 replies; 5+ messages in thread
From: ANISH KUMAR @ 2010-02-05 8:17 UTC (permalink / raw)
To: alsa-devel@alsa-project.org; +Cc: JaroslavKyselaperex@perex.cz
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: DMA interrupt not getting triggered
2010-02-05 8:17 DMA interrupt not getting triggered ANISH KUMAR
@ 2010-02-05 8:27 ` Ben Dooks
2010-02-05 8:35 ` jassi brar
1 sibling, 0 replies; 5+ messages in thread
From: Ben Dooks @ 2010-02-05 8:27 UTC (permalink / raw)
To: ANISH KUMAR; +Cc: alsa-devel@alsa-project.org, JaroslavKyselaperex@perex.cz
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.
--
Ben
Q: What's a light-year?
A: One-third less calories than a regular year.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: DMA interrupt not getting triggered
2010-02-05 8:17 DMA interrupt not getting triggered ANISH KUMAR
2010-02-05 8:27 ` Ben Dooks
@ 2010-02-05 8:35 ` jassi brar
1 sibling, 0 replies; 5+ messages in thread
From: jassi brar @ 2010-02-05 8:35 UTC (permalink / raw)
To: anish.singh; +Cc: alsa-devel@alsa-project.org, JaroslavKyselaperex@perex.cz
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* DMA interrupt not getting triggered
@ 2010-02-05 8:22 ANISH KUMAR
0 siblings, 0 replies; 5+ messages in thread
From: ANISH KUMAR @ 2010-02-05 8:22 UTC (permalink / raw)
To: alsa-devel@alsa-project.org; +Cc: JaroslavKyselaperex@perex.cz
These are the logs in normal case:
Entered s3c24xx_pcm_hw_free
Entered s3c24xx_pcm_hw_free
Entered s3c24xx_pcm_open
Entered s3c24xx_pcm_hw_params, line 330
Entered s3c24xx_pcm_prepare
Entered s3c24xx_pcm_enqueue
Entered s3c24xx_pcm_trigger
Entered s3c24xx_pcm_pointer
Entered s3c24xx_pcm_pointer
Entered s3c24xx_pcm_pointer
Entered s3c6410_audio_buffdone
Entered s3c24xx_pcm_pointer
Entered s3c24xx_pcm_enqueue
Entered s3c24xx_pcm_pointer
Entered s3c24xx_pcm_pointer
Entered s3c24xx_pcm_terpoin
Entered s3c6410_audio_buffdone
In abnormal case:
Entered s3c24xx_pcm_hw_free
Entered s3c24xx_pcm_hw_free
Entered s3c24xx_pcm_close,
Entered s3c24xx_pcm_open
Entered s3c24xx_pcm_hw_param
Entered s3c24xx_pcm_prepare
Entered s3c24xx_pcm_enqueue
Entered s3c24xx_pcm_trigger
Entered s3c24xx_pcm_trigger
Entered s3c24xx_pcm_trigger
Entered s3c24xx_pcm_pointer
Entered s3c24xx_pcm_pointer
Entered s3c24xx_pcm_pointer
Entered s3c24xx_pcm_pointer
Entered s3c24xx_pcm_pointer
Entered s3c24xx_pcm_pointer
Entered s3c24xx_pcm_pointer
Entered s3c24xx_pcm_pointer
Entered s3c24xx_pcm_pointer
Entered s3c24xx_pcm_pointer
Entered s3c24xx_pcm_pointer
Entered s3c24xx_pcm_pointer
Entered s3c24xx_pcm_pointer
Entered s3c24xx_pcm_pointer
Entered s3c24xx_pcm_pointer
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: DMA interrupt not getting triggered
@ 2010-02-05 8:44 ANISH KUMAR
0 siblings, 0 replies; 5+ messages in thread
From: ANISH KUMAR @ 2010-02-05 8:44 UTC (permalink / raw)
To: Ben Dooks; +Cc: alsa-devel@alsa-project.org
>Which board are you trying this on?
S3C6410
>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.
Ben it would be very difficult to take the entire change.There are lot of efforts already gone into to make it stable.
Can you please tell me which all changes exactly is required to get rid of this problem?As to what all the files
that needs merging as i am not a kernel expert.
or
Can you give me some patch that would solve this problem?
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-02-05 8:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-05 8:17 DMA interrupt not getting triggered ANISH KUMAR
2010-02-05 8:27 ` Ben Dooks
2010-02-05 8:35 ` jassi brar
-- strict thread matches above, loose matches on Subject: below --
2010-02-05 8:22 ANISH KUMAR
2010-02-05 8:44 ANISH KUMAR
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).