Gerd Knorr wrote:
> 
> Another point:  With 2.4.x and kiobufs we can do DMA to userspace now.
> I've had a look at the code this weekend, I have it working (quick+dirty
> hack) with bttv.
> 
> The v4l2 capture interface should use kiobufs instead of let the
> applications mmap() kernel-space capture buffers.  Unfortunaly drivers
> will have to support both kiobufs and mmap to maintain v4l1 backward
> compatibility.

kiobufs is definitely the way to go. Could it be possible to translate
mmap'ed buffers into DMA buffers in the host module, i.e. allocate
vmalloc space for the app and ask the driver to dump into it? Where can
I find an introduction to kiobufs?

Michael


-- 
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to