Index:
[thread]
[date]
[subject]
[author]
From: Steffen Seeger <seeger@physik.tu-chemnitz.de>
To : ggi-develop@eskimo.com
Date: Tue, 21 Jul 1998 11:48:17 +0200 (MEST)
Re: DMA BLTs
> Brian writes:
>
> > 2) What's the procedure for translating a processes's userspace address
> > into physical address so it can be decided whether bounce buffers
> > are needed?
>
> I just read this on linux-kernel, hope it helps:
>
> : I agree with what Alan says in another message, a driver that kmallocs
> : and maps the memory to user space is a lot saner, not least because the
> : driver has proper control over the type of memory (GFP_DMA if needed,
> : for example, and none of the complications of normal user pages).
> :
> : People may peek at the sound code for an example of mmaping pages used
> : for DMA.
That's what the /dev/graphic driver does. (Hey, I did it the sane way! ;-)
> Andrew Apted <andrew@ggi-project.org> \/
Steffen
----------------- e-mail: seeger@physik.tu-chemnitz.de -----------------
Index:
[thread]
[date]
[subject]
[author]