Graphics Driver Frameworks and Security

Alan Cox alan at lxorguk.ukuu.org.uk
Tue May 16 08:56:26 PDT 2006


On Maw, 2006-05-16 at 17:33 +0200, Olivier Galibert wrote:
> I've never understood how one could consider having a driver that does
> pci device discovery, remapping, irqs, DMA and other funnies fully in
> userspace in any way sane.

X.org doesn't do DMA or interrupts in user space. It doesn't do PCI
remapping except on some very old systems that don't know how to fix PCI
bugs themselves.

Device discovery is pretty simple (X is vastly over-engineered here
relative to the needs of Linux but not to all the platforms it
supports). Also don't forget PCI device discovery is an optional part of
X.org, you don't even have to have a PCI bus or use that code in your
driver.




More information about the xorg mailing list