android_kernel_xiaomi_sm8350/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 Update email addresses. 2008-10-20 12:50:03 -07:00
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 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
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 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
sis-agp.c
sworks-agp.c
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