]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 29 Oct 2010 04:51:29 +0000 (21:51 -0700)
commitf7352937752cdf338158a320b37e99b7189b411a
treea98c9e575de9ca9449ed733c5c21f9ec66e52dc2
parent14d7e74a7f658fdd370e9a790b55e3b93eb259fc
drm/i915: Prevent module unload to avoid random memory corruption

commit 6939a5aca7cfada279a24c307e772f33104fca20 upstream.

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>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/i915/i915_dma.c