pciaccess clean up
Ian Romanick
idr at us.ibm.com
Mon Mar 3 09:52:16 PST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tiago Vignatti wrote:
| In Xorg without pciaccess the scheme to enable the resources of a given
| card on server initialization is as follows:
|
| 1. Disable all pci accesses: the bus and pci devices
|
| 2. Enable current VGA card access:
| xf86EnableAccess() -> pciSetBusAccess()
| xf86EnableAccess() -> pciIo_MemAccessEnable()
|
| 3. PreInit() phase: if the card is not yet the one which is routing
| the informations, initialize it through int10:
| xf86ExecX86int10()
|
| 4. xf86PostScreenInit() phase:
| xf86EnterServerState() -> setAccess() -> pciMemAccessEnable()
|
|
| while in the pciaccess Xorg, only the step 2 is performed. So strange.
This is by design. In the pre-PCI-rework discussions we decided that it
was pure evil for the X server to muck about with PCI device / bus
enables. I thought that the int10 boot-strap was still enabled, though.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFHzDrMX1gOwKyEAw8RAmGLAJ9MJyJZZXasxxTTZitT8hm8SxZwQACePBZn
Zc46f8WHigEnEZJ2/v7sVXo=
=XVYB
-----END PGP SIGNATURE-----
More information about the xorg
mailing list