Re: [PATCH] dmaengine: add dma_ctrl_cmd to pass buffer stride configuration

2011-07-23 Thread Jassi Brar
On Mon, Jul 18, 2011 at 1:21 PM, Raju, Sundaram sunda...@ti.com wrote: Maybe a new api to pass fixed-format variable-length encoded message to the DMAC drivers? Which could be interpreted by DMAC drivers to extract all the needed xfer parameters from the 'header' section and instructions to

RE: [PATCH] dmaengine: add dma_ctrl_cmd to pass buffer stride configuration

2011-07-18 Thread Raju, Sundaram
...@arm.linux.org.uk; dan.j.willi...@intel.com; linux-omap@vger.kernel.org Subject: Re: [PATCH] dmaengine: add dma_ctrl_cmd to pass buffer stride configuration On Tue, Jul 12, 2011 at 5:01 PM, Raju, Sundaram sunda...@ti.com wrote: -Original Message- From: Jassi Brar [mailto:jassisinghb...@gmail.com

Re: [PATCH] dmaengine: add dma_ctrl_cmd to pass buffer stride configuration

2011-07-12 Thread Linus Walleij
On Mon, Jul 11, 2011 at 11:39 PM, Dan Williams dan.j.willi...@intel.com wrote: On Mon, Jul 11, 2011 at 2:28 AM, Linus Walleij linus.wall...@linaro.org wrote: ...and I suspect the slave device drivers that use TI DMA are not expected to ever work with other dmaengines?  Likely the case, but

Re: [PATCH] dmaengine: add dma_ctrl_cmd to pass buffer stride configuration

2011-07-12 Thread Linus Walleij
On Tue, Jul 12, 2011 at 6:17 AM, Jassi Brar jassisinghb...@gmail.com wrote: 1) Striding, in one form or other, is supported by other DMACs as well.   The number will only increase in future.   Are we to add  VENDOR_DMA_STRIDE_CONFIG for each case ? If we are sure about this and striding will

RE: [PATCH] dmaengine: add dma_ctrl_cmd to pass buffer stride configuration

2011-07-12 Thread Raju, Sundaram
...@arm.linux.org.uk; linux-omap@vger.kernel.org Subject: Re: [PATCH] dmaengine: add dma_ctrl_cmd to pass buffer stride configuration On Mon, Jul 11, 2011 at 11:39 PM, Dan Williams dan.j.willi...@intel.com wrote: On Mon, Jul 11, 2011 at 2:28 AM, Linus Walleij linus.wall...@linaro.org wrote: ...and I

RE: [PATCH] dmaengine: add dma_ctrl_cmd to pass buffer stride configuration

2011-07-12 Thread Raju, Sundaram
...@arm.linux.org.uk; dan.j.willi...@intel.com; linux-omap@vger.kernel.org Subject: Re: [PATCH] dmaengine: add dma_ctrl_cmd to pass buffer stride configuration On Tue, Jul 12, 2011 at 6:17 AM, Jassi Brar jassisinghb...@gmail.com wrote: 1) Striding, in one form or other, is supported by other DMACs as well

Re: [PATCH] dmaengine: add dma_ctrl_cmd to pass buffer stride configuration

2011-07-12 Thread Linus Walleij
On Tue, Jul 12, 2011 at 12:56 PM, Raju, Sundaram sunda...@ti.com wrote: [Me] [Jassi] 3) TI may not have just one DMAC IP used in all the SoCs. So if you want  vendor specific defines anyway, please atleast also add DMAC version to it.  Something like        DMA_SLAVE_CONFIG,        

Re: [PATCH] dmaengine: add dma_ctrl_cmd to pass buffer stride configuration

2011-07-12 Thread Jassi Brar
On Tue, Jul 12, 2011 at 3:33 PM, Linus Walleij linus.wall...@linaro.org wrote: On Tue, Jul 12, 2011 at 6:17 AM, Jassi Brar jassisinghb...@gmail.com wrote: 1) Striding, in one form or other, is supported by other DMACs as well.   The number will only increase in future.   Are we to add  

RE: [PATCH] dmaengine: add dma_ctrl_cmd to pass buffer stride configuration

2011-07-12 Thread Raju, Sundaram
...@arm.linux.org.uk; dan.j.willi...@intel.com; linux-omap@vger.kernel.org Subject: Re: [PATCH] dmaengine: add dma_ctrl_cmd to pass buffer stride configuration On Tue, Jul 12, 2011 at 3:33 PM, Linus Walleij linus.wall...@linaro.org wrote: On Tue, Jul 12, 2011 at 6:17 AM, Jassi Brar jassisinghb...@gmail.com

Re: [PATCH] dmaengine: add dma_ctrl_cmd to pass buffer stride configuration

2011-07-12 Thread Jassi Brar
; davinci-linux-open-sou...@linux.davincidsp.com; li...@arm.linux.org.uk; dan.j.willi...@intel.com; linux-omap@vger.kernel.org Subject: Re: [PATCH] dmaengine: add dma_ctrl_cmd to pass buffer stride configuration On Tue, Jul 12, 2011 at 3:33 PM, Linus Walleij linus.wall...@linaro.org wrote

Re: [PATCH] dmaengine: add dma_ctrl_cmd to pass buffer stride configuration

2011-07-11 Thread Linus Walleij
2011/7/10 Sundaram Raju sunda...@ti.com: Added new dma_ctrl_cmd TI_DMA_STRIDE_CONFIG to pass the TI DMA controller specific configurations on how a buffer must be walked through and how data is picked for transfer based on a specified pattern over the channel. The configuration passed is

Re: [PATCH] dmaengine: add dma_ctrl_cmd to pass buffer stride configuration

2011-07-11 Thread Dan Williams
On Mon, Jul 11, 2011 at 2:28 AM, Linus Walleij linus.wall...@linaro.org wrote: 2011/7/10 Sundaram Raju sunda...@ti.com: Added new dma_ctrl_cmd TI_DMA_STRIDE_CONFIG to pass the TI DMA controller specific configurations on how a buffer must be walked through and how data is picked for transfer

Re: [PATCH] dmaengine: add dma_ctrl_cmd to pass buffer stride configuration

2011-07-11 Thread Jassi Brar
On Sun, Jul 10, 2011 at 8:33 PM, Sundaram Raju sunda...@ti.com wrote: Added new dma_ctrl_cmd TI_DMA_STRIDE_CONFIG to pass the TI DMA controller specific configurations on how a buffer must be walked through and how data is picked for transfer based on a specified pattern over the channel.