linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* multi-planar buffers
@ 2016-06-28  9:04 Phil Reid
  2016-07-01  9:53 ` Lars-Peter Clausen
  0 siblings, 1 reply; 2+ messages in thread
From: Phil Reid @ 2016-06-28  9:04 UTC (permalink / raw)
  To: linux-iio@vger.kernel.org

I'm interested in multi-planar buffers for and ADC that does multiple parallel dma transactions.
Raised the question about 6 months ago and it was something for which Lars said support was needed at some point.
At the time he suggested that it was best implemented with the mmap support which still doesn't look to be upstream correct?

The mmap is also of interest to us due to the potential number of channels and high sample rates.
Is the work stalled on getting this into the kernel?

Could someone point me to where the latest mmap code is so I can look at integrating multi-planar buffers into it for our driver.

If there something I can do to help get the mmap code into the kernel as well I'm happy to have a go with a bit of guidance.

Thanks
Phil

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: multi-planar buffers
  2016-06-28  9:04 multi-planar buffers Phil Reid
@ 2016-07-01  9:53 ` Lars-Peter Clausen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars-Peter Clausen @ 2016-07-01  9:53 UTC (permalink / raw)
  To: Phil Reid, linux-iio@vger.kernel.org

On 06/28/2016 11:04 AM, Phil Reid wrote:
> I'm interested in multi-planar buffers for and ADC that does multiple
> parallel dma transactions.
> Raised the question about 6 months ago and it was something for which Lars
> said support was needed at some point.
> At the time he suggested that it was best implemented with the mmap support
> which still doesn't look to be upstream correct?
> 
> The mmap is also of interest to us due to the potential number of channels
> and high sample rates.
> Is the work stalled on getting this into the kernel?
> 
> Could someone point me to where the latest mmap code is so I can look at
> integrating multi-planar buffers into it for our driver.
> 
> If there something I can do to help get the mmap code into the kernel as
> well I'm happy to have a go with a bit of guidance.

Hi,

No progress on the upstream of the mmap code at the moment, sorry. The
latest code is here:
https://github.com/analogdevicesinc/linux/tree/xcomm_zynq/drivers/iio but
probably needs some serious rework before it is ready for upstream submission.

Among other things to support the multi-planar buffers the structure layout
for the buffer meta data needs to be changed.

- Lars


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-01  9:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-28  9:04 multi-planar buffers Phil Reid
2016-07-01  9:53 ` Lars-Peter Clausen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).