]> git.baikalelectronics.ru Git - kernel.git/commit
intel_agp: Don't oops with zero stolen memory
authorOndrej Zary <linux@rainbow-software.org>
Wed, 16 Jun 2010 08:13:52 +0000 (10:13 +0200)
committerEric Anholt <eric@anholt.net>
Mon, 2 Aug 2010 02:03:42 +0000 (19:03 -0700)
commitd01df8e75c836b7d02e1661179ec80c22577ae98
treebf099cadccc715115b7e7b9f83a58a337a544dc9
parent21ddc99d243b7aa662f69be3f8312cc9ce6bbb7b
intel_agp: Don't oops with zero stolen memory

When "onboard video memory" is set do "disabled" in BIOS on Asus P4P800-VM
board (i865G), kernel oopses with memory corruption:
https://bugs.freedesktop.org/show_bug.cgi?id=28430

Fix that by cleanly aborting the initialization.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/char/agp/intel-gtt.c