From e64ee4ee2b23dba147d144aacead3cb61c744854 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 6 Nov 2011 17:32:51 +0000 Subject: OpenBSD: Indicate that devices need access to legacy VGA resources. Makes sure xserver disables DRI if the VGA arbiter is in use. Signed-off-by: Matthieu Herrb --- src/openbsd_pci.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/openbsd_pci.c') diff --git a/src/openbsd_pci.c b/src/openbsd_pci.c index e954144..b5559ad 100644 --- a/src/openbsd_pci.c +++ b/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