cvs commit: src/sys/pci agp_intel.c
John Baldwin
jhb at FreeBSD.org
Tue May 27 13:13:45 PDT 2003
jhb 2003/05/27 13:13:44 PDT
FreeBSD src repository
Modified files:
sys/pci agp_intel.c
Log:
Fix support for 256 MB aperture sizes on chipsets such as the 845 and
865. The APSIZE register has a variable-sized field of enabled bits.
To figure out how many bits a specific host bridge supports, write the
maximum width and see how many bits are set in the hardware. We then
use this mask for setting and getting the aperture size. Prior to this,
the agp(4) driver would treat an aperture size of 256 MB as 128 MB and
would not allocate enough physical memory for the GART as a result.
MFC after: 3 days
Sponsored by: The Weather Channel
Approved by: re (rwatson)
Revision Changes Path
1.15 +16 -5 src/sys/pci/agp_intel.c
More information about the cvs-src
mailing list