linux/drivers/char/agp
Yinghai Lu 2f68891314 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>
2009-03-10 15:55:11 -07:00
..
agp.h Merge branch 'x86/urgent' into x86/pat 2008-08-22 06:06:51 +02:00
ali-agp.c Update email addresses. 2008-10-20 12:50:03 -07:00
alpha-agp.c agp: enable optimized agp_alloc_pages methods 2008-08-22 06:07:33 +02:00
amd64-agp.c x86/agp: tighten check to update amd nb aperture 2009-03-10 15:55:11 -07:00
amd-k7-agp.c Merge branch 'agp-next' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/agp-2.6 2008-10-16 12:43:49 -07:00
ati-agp.c Update email addresses. 2008-10-20 12:50:03 -07:00
backend.c Update email addresses. 2008-10-20 12:50:03 -07:00
compat_ioctl.c agp: more boolean conversions. 2008-06-19 10:42:17 +10:00
compat_ioctl.h agp: add chipset flushing support to AGP interface 2008-02-05 14:33:32 +10:00
efficeon-agp.c agp: enable optimized agp_alloc_pages methods 2008-08-22 06:07:33 +02:00
frontend.c Merge commit 'v2.6.26' into bkl-removal 2008-07-14 15:29:34 -06:00
generic.c Merge branch 'x86/urgent' into x86/pat 2008-08-22 06:06:51 +02:00
hp-agp.c agp: enable optimized agp_alloc_pages methods 2008-08-22 06:07:33 +02:00
i460-agp.c agp: enable optimized agp_alloc_pages methods 2008-08-22 06:07:33 +02:00
intel-agp.c agp/intel: Fix broken ® symbol in device name. 2008-12-29 10:06:20 +10:00
isoch.c agp: use dev_printk when possible 2008-08-12 10:13:38 +10:00
Kconfig x86 gart: rename CONFIG_IOMMU to CONFIG_GART_IOMMU 2007-10-30 00:22:22 +01:00
Makefile [AGPGART] Fix modular agpgart ia64 allmodconfig 2007-02-20 14:18:01 -05:00
nvidia-agp.c Update email addresses. 2008-10-20 12:50:03 -07:00
parisc-agp.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6 2008-10-20 14:40:31 -07:00
sgi-agp.c drivers/char/agp - use bool 2008-06-19 10:04:20 +10:00
sis-agp.c agp: enable optimized agp_alloc_pages methods 2008-08-22 06:07:33 +02:00
sworks-agp.c agp: enable optimized agp_alloc_pages methods 2008-08-22 06:07:33 +02:00
uninorth-agp.c uninorth-agp section mess 2008-11-30 10:03:37 -08:00
via-agp.c Update email addresses. 2008-10-20 12:50:03 -07:00