aboutsummaryrefslogtreecommitdiffstats
path: root/lib/idr.c
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2009-03-10 12:55:50 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-03-10 15:55:11 -0700
commit2f68891314b14e7e0ef07b4e77a8ea6e917fc74b (patch)
tree28cbe3692f20f33a21524550901f978b38e1586e /lib/idr.c
parent5a891ed5adef39aca0b7662c58a2566c7a16237e (diff)
downloadmrst-s0i3-test-2f68891314b14e7e0ef07b4e77a8ea6e917fc74b.tar.gz
mrst-s0i3-test-2f68891314b14e7e0ef07b4e77a8ea6e917fc74b.tar.xz
mrst-s0i3-test-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 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions