diff options
author | Mark Kettenis <mark.kettenis@xs4all.nl> | 2011-11-06 17:32:51 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu.herrb@laas.fr> | 2011-11-19 15:44:43 +0100 |
commit | e64ee4ee2b23dba147d144aacead3cb61c744854 (patch) | |
tree | 529ea0f251f578e3729648a6a6927f13eff2d9b8 | |
parent | cfae4096835fe569edb03cd12d4580fc912a0e61 (diff) | |
download | libpciaccess-e64ee4ee2b23dba147d144aacead3cb61c744854.tar.gz libpciaccess-e64ee4ee2b23dba147d144aacead3cb61c744854.tar.bz2 libpciaccess-e64ee4ee2b23dba147d144aacead3cb61c744854.zip |
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 <matthieu.herrb@laas.fr>
-rw-r--r-- | src/openbsd_pci.c | 4 |
1 files changed, 4 insertions, 0 deletions
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++; } } |