On Wed, 2009-05-06 at 20:55 +0800, Jeff wrote:
> That's great. Do you have some ideas to improve DM355 performance now? You
> think that audio stalls is caused by DM355 performance issue? Thanks.

It is possible since you can get data underflow.  I observed performance
issue when playing NFS mounted files.  The most obvious place to start
is the dm9000 (Ethernet) performance.  It is only getting around 25Mbps
when measured with netperf.  Currently, the DM9000 does not use DMA.
The processor is physically copying both transmit and receive Ethernet
data.  I started looking at having DM9000 to use DMA a few weeks back,
but other issues came up, so I have not being able to work on it lately.
I hope to start looking at it in a few weeks.

I do remember a couple of other things you may want to try.

1.  I think I put in a patch to address an audio stall sometime back, so
make sure you are using the latest MVL kernel.  TI is pushing the
DaVinci ALSA driver to the community, so the same fixes should be
available in DaVinci git once the effort is completed.

2.  There is an errata on PBBPR register for DM355.  Make sure the
register is setup correctly.

Regards,

Steve

> 
> Jeff 
> 
> -----邮件原件-----
> 发件人: Steve Chen [mailto:[email protected]] 
> 发送时间: 2009年5月6日 20:55
> 收件人: Jeff
> 抄送: Davinci-Linux-Source
> 主题: Re: 答复: 答复: Audio Driver Problem
> 
> On Wed, 2009-05-06 at 20:32 +0800, Jeff wrote:
> > I am working on DM355 EVM. Before I changed the dma.c code, I can not 
> > get work for playing video while playing audio.
> > I changed dma.c code as below:
> > 
> > static unsigned long param_entry_arm[] = { #ifdef 
> > CONFIG_ARCH_DAVINCI_DM355
> >     0xFFFFFFFFu, 0x00000000u, 0x00000000u, 0xFFFFFFC0u,
> > #else       
> >     0xffffffff, 0xffffffff, 0x0000ffff, 0xffffffff,
> > #endif      
> >     0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
> >     0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
> >     0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff };
> >  
> > The original code is as below:
> > static unsigned long param_entry_arm[] = {
> >     0xffffffff, 0xffffffff, 0x0000ffff, 0xffffffff,
> >     0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
> >     0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff,
> >     0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff };
> > 
> > at this stage, i can not get work for playing video with audio. It 
> > will get stuck in 2 secs.
> > 
> 
> DM355 EVM has performance issues when playing video and audio at the same
> time.  Improving dm355 performance is in my to-do list.
> 
> Regards,
> 
> Steve
> 
> 
> 


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to