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
ali-agp.c
alpha-agp.c
amd64-agp.c x86/agp: tighten check to update amd nb aperture 2009-03-10 15:55:11 -07:00
amd-k7-agp.c
ati-agp.c
backend.c
compat_ioctl.c
compat_ioctl.h
efficeon-agp.c
frontend.c
generic.c
hp-agp.c
i460-agp.c
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
Kconfig
Makefile
nvidia-agp.c
parisc-agp.c
sgi-agp.c
sis-agp.c
sworks-agp.c
uninorth-agp.c uninorth-agp section mess 2008-11-30 10:03:37 -08:00
via-agp.c