Re: DMA directly from/to user space

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 27 Oct 1997 21:09:43 +0000 (GMT)


> Sorry, I misunderstood you. You don't want to implement a
> "sys_lock_dma_memory()" call but provide user-level transparent means
> to let the device driver perform dma transfers to the user
> buffer.
>
> Very nice.

Im working on this for the bttv card based on some bits from Ralph
and Werner. Right now its a bit hairy

> Why? No, this can already be achieved by mmap()ing the frame buffer
> into the address space and passing it to the read() function.

That means having several megs of kernel memory buffers

Alan