]> bbs.cooldavid.org Git - net-next-2.6.git/commit
drm/i915: Prevent module unload to avoid random memory corruption
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 Oct 2010 12:40:27 +0000 (13:40 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 Oct 2010 13:11:00 +0000 (14:11 +0100)
commit6939a5aca7cfada279a24c307e772f33104fca20
treed68aa99e71dc9c4bf1e34eff57560b77e0ed2e7f
parent6b0cd00bc396daf5c2dcf17a8d82055335341f46
drm/i915: Prevent module unload to avoid random memory corruption

The i915 driver has quite a few module unload bugs, the known ones at
least have fixes that are targeting 2.6.37. However, in order to
maintain a stable kernel, we should prevent this known random memory
corruption following driver unload. This should have very low impact on
normal users who are unlikely to need to unload the i915 driver.

Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: stable@kernel.org
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_dma.c