OSDN Git Service
(root)
/
android-x86
/
external-libpciaccess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfae409
)
OpenBSD: Indicate that devices need access to legacy VGA resources.
author
Mark Kettenis
<mark.kettenis@xs4all.nl>
Sun, 6 Nov 2011 17:32:51 +0000
(17:32 +0000)
committer
Matthieu Herrb
<matthieu.herrb@laas.fr>
Sat, 19 Nov 2011 14:44:43 +0000
(15:44 +0100)
Makes sure xserver disables DRI if the VGA arbiter is in use.
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
src/openbsd_pci.c
patch
|
blob
|
history
diff --git
a/src/openbsd_pci.c
b/src/openbsd_pci.c
index
e954144
..
b5559ad
100644
(file)
--- 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++;
}
}