[Linux-fbdev-devel] Re: radeon, apertures & memory mapping

Benjamin Herrenschmidt benh at kernel.crashing.org
Sun Mar 13 17:05:59 PST 2005


> It should be the responsibility of the memory manager. If anything wants 
> to access the memory it would call lock() and when it's done with the 
> memory it calls unlock(). That's exactly how DirectFB's memory manager 
> works.

In an ideal world ... However, since we are planning to move the memory
manager to the kernel, that would mean a kernel access (syscall, ioctl,
whatever...) twice per access to AGP memory. Not realistic.

The case of the CP ring is easy to deal with by the macros we have there
already and it would be kernel-kernel. But it would be a hit for a lot
of other things I suppose.

Ben.





More information about the xorg mailing list