[PATCHv2] Support for zerocopy to DSP on OMAP3

2010-03-04 Thread Arnout Vandecappelle
Here is an updated patch, properly split up and with commit messages. I've tested it on my OMAP3 board an it works. I don't have anything else to test it with. Regards, Arnout [PATCH 1/2] V4L/DVB: buf-dma-sg.c: don't assume nr_pages == sglen [PATCH 2/2] V4L/DVB: buf-dma-sg.c: support non-

Re: [PATCH RFCv1] Support for zerocopy to DSP on OMAP3

2010-03-04 Thread Laurent Pinchart
Hi Arnout, On Wednesday 03 March 2010 20:11:06 Arnout Vandecappelle wrote: > Here's a first attempt at allowing IO memory for USERPTR buffers. > > It also fixes another issue: it was assumed that > dma->sglen == dma->nr_pages. I'll split that up in a separate patch in the > final version. -EM

[PATCH RFCv1] Support for zerocopy to DSP on OMAP3

2010-03-03 Thread Arnout Vandecappelle
Here's a first attempt at allowing IO memory for USERPTR buffers. It also fixes another issue: it was assumed that dma->sglen == dma->nr_pages. I'll split that up in a separate patch in the final version. Regards, Arnout On Wednesday 03 March 2010 15:12:44, Arnout Vandecappelle wrote: >

Support for zerocopy to DSP on OMAP3

2010-03-03 Thread Arnout Vandecappelle
Hoi, [Please CC me, I'm not subscribed.] I'm implementing zerocopy transfer from a v4l2 camera to the DSP on an OMAP3 (based on earlier work by Stefan Kost [1][2]). Therefore I'm using V4L2_MEMORY_USERPTR to pass in the memory area allocated by TI's DMAI driver. However, this has flags VM