From 42f61ad50491a3806f0b9d156d51fb9734d66bb3 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Wed, 12 Jan 2011 21:49:22 +0000 Subject: Indicate that devices need access to legacy VGA resources. Makes sure xserver disables DRI if the VGA arbiter is in use. ok matthieu@ --- lib/libpciaccess/src/openbsd_pci.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib') diff --git a/lib/libpciaccess/src/openbsd_pci.c b/lib/libpciaccess/src/openbsd_pci.c index 821e48f47..ed2f1663d 100644 --- a/lib/libpciaccess/src/openbsd_pci.c +++ b/lib/libpciaccess/src/openbsd_pci.c @@ -505,6 +505,10 @@ pci_system_openbsd_create(void) device->base.subvendor_id = PCI_VENDOR(reg); device->base.subdevice_id = PCI_PRODUCT(reg); + device->base.vgaarb_rsrc = + VGA_ARB_RSRC_LEGACY_IO | + VGA_ARB_RSRC_LEGACY_MEM; + device++; } } -- cgit v1.2.3