drm/i915: Select CONFIG_SHMEM
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 22 Nov 2009 15:40:31 +0000 (15:40 +0000)
committerEric Anholt <eric@anholt.net>
Wed, 25 Nov 2009 20:27:42 +0000 (12:27 -0800)
commitca9ab10033d190c1ede85fdf456307bdfdabf079
tree2136fc5c863c826481786222c91daa2fd98ef766
parent8e9e0eea9955bffbe5e5cd6355157cabddc31f17
drm/i915: Select CONFIG_SHMEM

The driver requires shmfs as the backing filesystem to handle the buffer
objects, so ensure it is selected if the user chooses to build our
driver.

Fixes: Bug 14662 - Dell E5500 kernel panic with KMS
http://bugzilla.kernel.org/show_bug.cgi?id=14662

The revealing nature of the panic is the NULL function pointer
dereference in read_cache_page_async().

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reported-and-tested-by: Mateusz Kaduk <mateusz.kaduk@gmail.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Cc: stable@kernel.org
drivers/gpu/drm/Kconfig