mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vinod Koul <vinod.koul@intel.com>
To: Jassi Brar <jaswinder.singh@linaro.org>
Cc: Barry Song <21cnbao@gmail.com>, "arnd@arndb.de" <arnd@arndb.de>,
	"linus.walleij@linaro.org" <linus.walleij@linaro.org>,
	Jassi Brar <jassisinghbrar@gmail.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"workgroup.linux@csr.com" <workgroup.linux@csr.com>,
	"rongjun.ying@csr.com" <rongjun.ying@csr.com>,
	"Baohua.Song@csr.com" <Baohua.Song@csr.com>,
	"Williams, Dan J" <dan.j.williams@intel.com>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH] dmaengine: add CSR SiRFprimaII DMAC driver
Date: Wed, 14 Sep 2011 10:37:17 +0530	[thread overview]
Message-ID: <1315976837.26251.473.camel@vkoul-udesk3> (raw)
In-Reply-To: <CAJe_ZhdTnRSzfRvnAaCy1M-LpAk0FqjNSXRLnQW2ksOS77A+=w@mail.gmail.com>

On Mon, 2011-09-12 at 12:03 +0530, Jassi Brar wrote:
> On 11 September 2011 21:32, Vinod Koul <vkoul@infradead.org> wrote:
> > On Fri, 2011-09-09 at 16:18 +0800, Barry Song wrote:
> 
> >> Jassi prefer to use a transfer type instead of a control command.
> >> though we will not really change the interleaved setting for every
> >> transfer(it is more possible for one device, we will not change the
> >> xlen/ylen/dma_width setting in the whole life period), i do believe
> >> the transfer type is enough flexible for my possible applications to
> >> change xlen, ylen and dma_width in different transfers.
> 
> > Is this usually the assumption or yours is a special case, how about
> > your's Jassi?
> 
> 1) Having type per transfer is more flexible than having to set the type
>      for a channel using a control command. The overhead is negligible
>      because the client reuses the same descriptors with only changed
>      source/destination addresses.
> 2) DMA_SLAVE_CONFIG is meant for slave (Mem<->Dev) channels,
>     whereas it is very likely(for multimedia drives) to have such operations
>     Mem->Mem as well.
> 3) Someday if people realize we can fold many, if not all, transfer types into
>     one, this api has the potential to be the survivor.
> 
> That was where my mind was grazing when I chose to do what I did.
I would agree that it makes sense to have it in API rather than config.


-- 
~Vinod


  reply	other threads:[~2011-09-14  5:10 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-07  5:41 Barry Song
2011-09-07 16:14 ` Koul, Vinod
2011-09-07 16:46   ` Barry Song
2011-09-07 18:09     ` Koul, Vinod
2011-09-08  2:12       ` Barry Song
2011-09-08  3:17         ` Jassi Brar
2011-09-08  5:25           ` Jassi Brar
2011-09-08  6:36             ` Barry Song
2011-09-08  7:49               ` Jassi Brar
2011-09-08 21:51               ` Vinod Koul
2011-09-09  2:35                 ` Barry Song
2011-09-09  2:52                   ` Barry Song
2011-09-09 16:25                     ` Vinod Koul
2011-09-09 23:37                       ` Barry Song
2011-09-11 15:59               ` Vinod Koul
2011-09-12  0:13                 ` Barry Song
2011-09-08 21:46             ` Vinod Koul
2011-09-09  8:18               ` Barry Song
2011-09-09 16:21                 ` Vinod Koul
2011-09-09 23:40                   ` Barry Song
2011-09-10  7:33                 ` Jassi Brar
2011-09-11 16:02                 ` Vinod Koul
2011-09-12  6:33                   ` Jassi Brar
2011-09-14  5:07                     ` Vinod Koul [this message]
2011-09-14  6:46             ` Barry Song
2011-09-14  7:11               ` Jassi Brar
2011-09-14  9:49                 ` Barry Song
2011-09-08  6:14           ` Barry Song
2011-09-08  6:37             ` Jassi Brar
2011-09-08  2:18       ` Barry Song
2011-09-16  9:06     ` Barry Song
2011-09-07 19:27   ` Linus Walleij
2011-09-08  1:47     ` Barry Song
2011-09-08 14:52 ` Arnd Bergmann
2011-09-08 15:27   ` Barry Song
2011-09-08 16:19     ` Arnd Bergmann
     [not found]       ` <CAKnu2Mpnjec-hvfbT0zH1P2mGZKNwTQYgDLGHWUXLmGGQB0_ow@mail.gmail.com>
2011-09-08 20:11         ` Arnd Bergmann
2011-09-08 21:38           ` Vinod Koul
2011-09-11 21:27             ` Linus Walleij
2011-09-12  0:01               ` Barry Song
2011-09-14  4:54               ` Vinod Koul
2011-09-09 16:10           ` Vinod Koul

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=1315976837.26251.473.camel@vkoul-udesk3 \
    --to=vinod.koul@intel.com \
    --cc=21cnbao@gmail.com \
    --cc=Baohua.Song@csr.com \
    --cc=arnd@arndb.de \
    --cc=dan.j.williams@intel.com \
    --cc=jassisinghbrar@gmail.com \
    --cc=jaswinder.singh@linaro.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rongjun.ying@csr.com \
    --cc=workgroup.linux@csr.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

all inboxes | Powered by JetHome®