kettenis
3ff4e178c2
Indicate that devices need access to legacy VGA resources. Makes sure xserver
...
disables DRI if the VGA arbiter is in use.
ok matthieu@
2011-01-12 21:49:21 +00:00
matthieu
ae10e3711f
avoid segfault in pci_device_vgaarb_fini() when called without
...
initializing the library first. (This happens when invalid options
are passed to X for instance). ok kettenis@
2010-07-26 18:48:48 +00:00
matthieu
99887c42a6
Update to libpciaccess 0.11, with VGA arbiter support code from kettenis@.
2010-07-10 18:56:27 +00:00
oga
76b1ece233
Use the correct size when mapping the legacy vga rom.
...
fixes errors (and probably bugs) on intel hardware (at the least).
ok matthieu@
2009-04-17 09:03:14 +00:00
kettenis
fb905686b3
Make libpciaccess domain-aware. Makes X capable of discovering PCI devices
...
in other domains (on macppc or sparc64 for example).
ok matthieu@
2009-02-15 19:10:52 +00:00
matthieu
b8c33db224
Remove trailing white space.
2008-12-07 17:58:38 +00:00
matthieu
1199942381
Implement pci_device_read_rom() for arbitrary PCI cards, including
...
secondary VGA. With help from kettenis@. ok kettenis@, miod@.
2008-12-07 17:42:21 +00:00
matthieu
63f16983cf
Fix a logic error in pci_device_openbsd_write() that actually
...
prevented it to write anything.
2008-11-25 11:40:56 +00:00
oga
4cd1a7a593
When trying to map a piece of device memory with a cacheability attribue
...
(e.g. the graphics aperture on most video cards), don't error if we
failed to set the mtrr but the map succeeded. Instead print a warning (other
osen handle this case similarly).
Libraries shouldn't use fprintf(stderr, ...); but libpciaccess is really
quite poorly designed.
This diff means that mine and drahn's laptops work with xserver 1.5.
ok kettenis@
2008-11-03 23:22:37 +00:00
matthieu
065e5e702a
- Add a method to read the legacy BIOS region on alpha/amd64/i386
...
- Restrict MTRR calls to amd64/i386.
ok kettenis@
2008-10-13 21:08:13 +00:00
matthieu
3f497bc04d
allow 2 successives calls to pci_system_init() and fix pci_system_cleanup()
...
to make it possible to call pci_system_init() again.
ok kettenis@.
2008-09-20 16:35:17 +00:00
matthieu
b9c810fd57
Merge libpciaccess 0.10.2, including kettenis@ OpenBSD port.
2008-05-24 14:14:00 +00:00
matthieu
64125c3e0e
skeleton OpenBSD port of libpciaccess
2007-06-06 21:01:25 +00:00