summaryrefslogtreecommitdiffstats
path: root/lib/libthr
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-05-27 20:13:44 +0000
committerjhb <jhb@FreeBSD.org>2003-05-27 20:13:44 +0000
commitfbb6062925d19f556464309f94d21cbabb752c21 (patch)
tree0ed0ef9774b15e9ff6d08251ad6f5ac06075f1bb /lib/libthr
parentea3b42f82ad2fc41a8ee976c0f4531792447ec34 (diff)
downloadFreeBSD-src-fbb6062925d19f556464309f94d21cbabb752c21.zip
FreeBSD-src-fbb6062925d19f556464309f94d21cbabb752c21.tar.gz
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)
Diffstat (limited to 'lib/libthr')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud