CVSROOT: /cvs Module name: src Changes by: kette...@cvs.openbsd.org 2013/08/08 11:54:11
Modified files: sys/dev/pci : pci.c pcivar.h Log message: Make it possible for graphics drivers to opt-out of VGA arbitration. The idea is that as soon the kernel driver switches out of vga text mode, it can disable decoding of legacy vga io and mmio and call pci_disable_legacy_vga() to take itself out of arbitration. The PCIGETVGA ioctl is extended such that it returns the legacy decoding state of a device. The X server can then query this state for all graphics devices in the system (through libpciaccess) and decide whether it needs to do arbitration. ok jsg@