freebsd-dev/sys/dev/agp
John Baldwin 4fb8dd97a7 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)
2003-05-27 20:13:44 +00:00
..
agp_ali.c
agp_amd.c
agp_i810.c
agp_if.m
agp_intel.c Fix support for 256 MB aperture sizes on chipsets such as the 845 and 2003-05-27 20:13:44 +00:00
agp_sis.c
agp_via.c
agp.c
agppriv.h
agpreg.h
agpvar.h