[lkml]   [2011]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] dmaengine: add CSR SiRFprimaII DMAC driver
On Thu, Sep 8, 2011 at 12:06 PM, Barry Song <> wrote:
> 2011/9/8 Jassi Brar <>:
>> According to figures, {xlen > width} is to be set _only_ when a transfer
>> is divided into _exactly_ two chunks separated by gap _exactly_
>> equal to length of the second chunk (an extremely rare case).
> Sorry i didn't list related full information in datasheet in my early reply.
> we don't have the case of xlen > dma_width.
Then the dmac driver becomes even simpler.
Accept strictly 'rectangular' requests and reject every other.

>> Anyways, every case can be easily expressed using the generic api
>> I proposed. See 'struct xfer_template' in
> i think it is the interleaved DMA case and there is a
> inter-chunk-gap(ICG) between every chunk while dma_width > xlen,
> then your new generic API can definitely cover this case.
Yup, it does. Thanks for confirming.

 \ /
  Last update: 2011-09-08 09:51    [W:0.207 / U:1.968 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site