linux/drivers/char/agp
Lubomir Rintel 9c1e8a4ebc intel-agp: fix a panic with 1M of shared memory, no GTT entries
When GTT size is equal to amount of video memory, the amount of GTT
entries is computed lower than zero, which is invalid and leads to
off-by-one error in intel_i915_configure()

Originally posted here:
http://bugzilla.kernel.org/show_bug.cgi?id=12539
http://bugzilla.redhat.com/show_bug.cgi?id=445592

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Cc: Lubomir Rintel <lkundrak@v3.sk>
Cc: Dave Airlie <airlied@linux.ie>
Reviewed-by: Eric Anholt <eric@anholt.net>
Cc: <stable@kernel.org>
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
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
amd64-agp.c x86/agp: tighten check to update amd nb aperture 2009-03-10 15:55:11 -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 intel-agp: fix a panic with 1M of shared memory, no GTT entries 2009-03-10 15:55:11 -07: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
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