Collect together a minimal set of display device drivers out of the
X server and put them into a kernel module. Then have the X server
insmod the correct drivers for your graphics card. No one needs to
bother Linus or write kernel patches.
So you end up with a module that creates a /dev/Xgraphics device
[using the gift of dev_fs (-: ] which does all your mode switches.
The X server opens this device and instructs it to change modes,
do some acceleration, whatever. When the device is closed it resets
the graphics mode. This even works if X got killed by an OOM error.
imc
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html