From: Tony Lindgren <tony@atomide.com>
To: "shekhar, chandra" <x0044955@ti.com>
Cc: Jarkko Nikula <jarkko.nikula@nokia.com>, linux-omap@vger.kernel.org
Subject: Re: [PATCH 1/2] McBSP DMA support for 34xx
Date: Wed, 24 Sep 2008 12:28:42 +0300 [thread overview]
Message-ID: <20080924092841.GL5222@atomide.com> (raw)
In-Reply-To: <0e0b01c9133a$a479b3c0$LocalHost@wipultra806>
* shekhar, chandra <x0044955@ti.com> [080910 14:45]:
>
> ----- Original Message ----- From: "Jarkko Nikula"
> <jarkko.nikula@nokia.com>
> To: "ext shekhar, chandra" <x0044955@ti.com>
> Cc: "Tony Lindgren" <tony@atomide.com>; <linux-omap@vger.kernel.org>
> Sent: Wednesday, September 10, 2008 4:44 PM
> Subject: Re: [PATCH 1/2] McBSP DMA support for 34xx
>
>
>> On Wed, 10 Sep 2008 15:47:34 +0530
>> "ext shekhar, chandra" <x0044955@ti.com> wrote:
>>
>>> Most importantly,
>>> 4> McBSP buffer ( To save power, for 34xx).
>>> OMAP3430 McBSP interface 2 has 5k buffer for audio. handling of this
>>> buffer should be specific to McBSP.
>>>
>> Actually it's not specific to McBSP only. I haven't paid attention into
>> these HW buffering issues but they have an effect. Like
>>
>> - IRCC ALSA expects that playback/record is really stopped when trigger
>> callback returns
>> - How HW buffering affects pointer callback? Some low-latency audio
>> algorithms require that buffer position is known very precisely. E.g.
>> if modifying already queued audio buffer content but which is not
>> played out yet
>
> This harware buffer is not user accessible, but during data transfer it
> is related to dma transfer.
> During data transfer instead of element sync, packet sync data transfer
> can be used.
> DMA request length can be configured buffer threshold and packet sync
> transfer can be used instead of element sync.
Let's put these on hold until we see the use cases. We should first
get all the other pending mcbsp patches into the mainline kernel, and
then all legacy audio code removed from l-o tree.
Then let's see how we can make use of the McBSP fifo and chaining if
needed.
Cheers,
Tony
prev parent reply other threads:[~2008-09-24 9:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-28 8:26 [PATCH 1/2] McBSP DMA support for 34xx chandra shekhar
2008-08-28 10:10 ` Felipe Balbi
2008-08-28 10:52 ` Jarkko Nikula
2008-08-28 11:20 ` shekhar, chandra
2008-09-09 16:31 ` Tony Lindgren
2008-09-10 10:17 ` shekhar, chandra
2008-09-10 11:14 ` Jarkko Nikula
2008-09-10 11:44 ` shekhar, chandra
2008-09-24 9:28 ` Tony Lindgren [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080924092841.GL5222@atomide.com \
--to=tony@atomide.com \
--cc=jarkko.nikula@nokia.com \
--cc=linux-omap@vger.kernel.org \
--cc=x0044955@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox