Felipe,
< afaict, endpoint interrupt is generated case we get a short packet. Then
< dma engine won't send that last short packet and an enpoint interrupt
< will be generated, from that point you decide if you wanna use PIO or
< reprogram the dma for mode 0.
DaVinci CPPI TX DMA requires operating in Mode 1 and only DMA interrupts are
raised and endpoint interrupts are not raised (excepting under error
conditions).
Regards
Swami
(Type "pspproducts" in you web browser for PSP info)
http://dbdwss01.india.ti.com/pspproducts/
PSP downloads at :
http://software.ti.com/swcoe/intranet/reports/pds/PSP_releases.php
Office : +91-80-25048629
-----Original Message-----
From: Felipe Balbi [mailto:[EMAIL PROTECTED]
Sent: Friday, August 22, 2008 12:53 PM
To: Subbrathnam, Swaminathan
Cc: Dmitry Krivoschekov; [email protected]; [EMAIL PROTECTED]; [EMAIL
PROTECTED]
Subject: Re: Patch [2/2] DaVinci CPPI TX DMA tasklet
On Fri, Aug 22, 2008 at 07:01:26AM +0530, ext Subbrathnam, Swaminathan wrote:
> <Swami> When in DMA mode (mode 1) Endpoint interrupt does not get
> generated (only DMA completion interrupt) and hence cannot rely on that.
afaict, endpoint interrupt is generated case we get a short packet. Then
dma engine won't send that last short packet and an enpoint interrupt
will be generated, from that point you decide if you wanna use PIO or
reprogram the dma for mode 0.
--
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html