Date: Tue, 27 May 2003 13:13:44 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci agp_intel.c Message-ID: <200305272013.h4RKDix4047473@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305272013.h4RKDix4047473>