[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTi=g9VAEhKJ3RhakRtUk8cqY+PpgEg@mail.gmail.com>
Date: Wed, 25 May 2011 14:54:06 +0200
From: Per Forlin <per.forlin@...aro.org>
To: "Koul, Vinod" <vinod.koul@...el.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
linux-arm-kernel@...ts.infradead.org,
Russell King <linux@....linux.org.uk>,
Linus Walleij <linus.walleij@...aro.org>,
Dan <dan.j.williams@...el.com>
Subject: Re: [PATCH 2/2] dmaengine: add TODO items for future work on dma drivers
On 25 May 2011 14:39, Per Forlin <per.forlin@...aro.org> wrote:
> On 25 May 2011 13:39, Koul, Vinod <vinod.koul@...el.com> wrote:
>> From: Vinod Koul <vinod.koul@...el.com>
>>
>> Signed-off-by: Vinod Koul <vinod.koul@...el.com>
>> ---
>> drivers/dma/TODO | 12 ++++++++++++
>> 1 files changed, 12 insertions(+), 0 deletions(-)
>> create mode 100644 drivers/dma/TODO
>>
>> diff --git a/drivers/dma/TODO b/drivers/dma/TODO
>> new file mode 100644
>> index 0000000..b67d184
>> --- /dev/null
>> +++ b/drivers/dma/TODO
>> @@ -0,0 +1,12 @@
>> +TODO for slave dma
>> +
>> +1. Move remaining drivers to use new slave interface
>> +2. Remove old slave pointer machansim
>> +3. Make issue_pending to start the transaction in below drivers
>> + - mpc512x_dma
>> + - imx-dma
>> + - imx-sdma
>> + - mxs-dma.c
>> + - dw_dmac
>> + - intel_mid_dma
>> + - ste_dma40
> ste_dma40 already does this. At least is does so in 2.6.39. I may not
> be up to date of what is merged for 2.6.40.
>
I looked at the code once more and ste_dam40 should be on this list :)
ste_dm40 only treats issue_pending accordingly if the DMA driver is in
idle. If the dma is active the desc:s submitted from submit() will be
started later on from dma-irq-function. The dma-irq-function simply
checks if there are pending desc are start them if any. I will fix a
patch for this.
/Per
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists