diff options
author | Eric Anholt <eric@anholt.net> | 2006-12-19 12:57:24 -0800 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2006-12-22 23:12:22 -0500 |
commit | c41e0deb50c44f9d119c2268f1be05e6a6bb5772 (patch) | |
tree | 67575d57e0a3699391a87215a0b61a3c6320ca91 /drivers/telephony | |
parent | 5aa80c72263904f1e52eee8ed8cb75887b1d1dc3 (diff) |
[AGPGART] fix detection of aperture size versus GTT size on G965
On the G965, the GTT size may be larger than is required to cover the
aperture. (In fact, on all hardware we've seen, the GTT is 512KB to the
aperture's 256MB). A previous commit forced the aperture size to 512MB on
G965 to match GTT, which would likely result in hangs at best if users
tried to rely on agpgart's aperture size information. Instead, we use the
resource length for the aperture size and the system's reported GTT size
when available for the GTT size.
Because the MSAC registers which had been read for aperture size detection
on i9xx chips just cause a change in the resource size, we can use generic
code for aperture detection on all i9xx.
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers/telephony')
0 files changed, 0 insertions, 0 deletions