diff options
author | Yinghai Lu <yinghai@kernel.org> | 2009-03-10 20:55:50 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-03-10 23:55:11 +0100 |
commit | 2f68891314b14e7e0ef07b4e77a8ea6e917fc74b (patch) | |
tree | 28cbe3692f20f33a21524550901f978b38e1586e /fs | |
parent | xtensa: fix compilation somewhat (diff) | |
download | linux-2f68891314b14e7e0ef07b4e77a8ea6e917fc74b.tar.xz linux-2f68891314b14e7e0ef07b4e77a8ea6e917fc74b.zip |
x86/agp: tighten check to update amd nb aperture
Impact: fix bug to make agp work with dri
Jeffrey reported that dri does work with 64bit, but doesn't work with
32bit it turns out NB aperture is 32M, aperture on agp is 128M
64bit is using 64M for vaidation for 64 iommu/gart 32bit is only using
32M..., and will not update the nb aperture.
So try to compare nb apterture and agp apterture before leaving not
touch nb aperture.
Reported-by: Jeffrey Trull <jetrull@sbcglobal.net>
Tested-by: Jeffrey Trull <jetrull@sbcglobal.net>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Acked-by: Dave Airlie <airlied@linux.ie>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions