[PATCH] VGA arbitration: draft of kernel side

Jon Smirl jonsmirl at gmail.com
Tue Mar 8 15:47:51 PST 2005


This very similar to the reset support patch I have been working on.

In the reset patch there is a 'vga' attribute on each VGA device. Set
it to 0/1 to make the device active. This lets you move the console
around betweem VGA devices.

You can also set it to 3, which disables all VGA devices but remembers
the active one. Setting it to 4 disables all VGA devices then restores
the active one. To use, set it to 3, post, set it to 4.

GregKH wants this code out of the pci directory but it needs hooks
into pci_destroy_dev() to delete the arbiter. You also need a hook on
add for when a hotplug device appears.

I'll try merging my sysfs support into your code.

-- 
Jon Smirl
jonsmirl at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vga.patch
Type: text/x-diff
Size: 11001 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20050308/ce6d99dc/attachment.patch>


More information about the xorg mailing list