]> git.hungrycats.org Git - linux/commit
[AGPGART] Numerous AMD64 gart driver cleanups.
authorDave Jones <davej@redhat.com>
Fri, 29 Aug 2003 01:27:36 +0000 (02:27 +0100)
committerDave Jones <davej@hardwired.(none)>
Fri, 29 Aug 2003 01:27:36 +0000 (02:27 +0100)
commitcad8b410d5cd53d61b0bc23f1e456cacf9f57d59
treebdb0bcdd5326cc07617b3003d066905ff078cc6b
parent2de02a8ec0c38e72802196630f8c94cdcfb372ad
[AGPGART] Numerous AMD64 gart driver cleanups.
From Andi Kleen.

- Fix the help text for the 8151 driver
- Fix the dependencies (must be compiled in when the IOMMU is in)
- Add __setup options for when the AGP driver is compiled in:
agp=off  agp=try_unsupported
Currently only supported for the K8 driver, the other drivers
would need fixes in their module init functions too.
- Add try_unsupported support for the K8 driver.
- Add some aperture sanity checking to the K8 driver.
There are unfortunately still BIOS around that get it wrong.
- Also try to read the aperture from the AGP bridge if it is bogus
in the Northbridge. Windows only looks into the bridge and some BIOS only
put the aperture there.
[These two changes are only useful for 32bit kernels. The 64bit kernel
checks this in aperture.c anyways, and fixes it. The 32bit kernel
cannot fix a complety broken aperture currently, but at least it will
not crash now]
- Clean up handling for multiple northbridges. The paths are the same
now for as for a single NB.
- Some other minor cleanups.
drivers/char/agp/Kconfig
drivers/char/agp/agp.h
drivers/char/agp/amd-k8-agp.c
drivers/char/agp/backend.c