lkml.org 
[lkml]   [2016]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: dmatest - scatter gather mode
On Tue, Apr 26, 2016 at 05:37:04PM +0300, Andy Shevchenko wrote:
> On Sun, Apr 24, 2016 at 9:44 PM, Ramon Fried <ramon.fried@tandemg.com> wrote:
> > I'm looking of a way to validate a DMA engine driver I've written.
> > I came across dmatest module and while reading the code I've noticed that scatter-gather DMA mode is not implemented.
> > I wonder if anyone one knows the reason, and if such enhancement will be welcome as a patch.
>
> You meant the actual slave interaction? How can you implement this in
> a generic way?
> For example we are using an SPI controller in loopback mode to check DMA driver.
> In your case it might be something really specific.
>
> Otherwise you may try mem copy functionality if your DMA engine supports such.

I think he means dma copy using sg lists, see the patch posted today for
that


--
~Vinod

\
 
 \ /
  Last update: 2016-04-26 18:41    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog