projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb9a90f
)
Revert "drm/i915: Prevent module unload to avoid random memory corruption"
author
Chris Wilson
<chris@chris-wilson.co.uk>
Fri, 8 Oct 2010 15:28:27 +0000
(16:28 +0100)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Tue, 19 Oct 2010 08:16:10 +0000
(09:16 +0100)
This reverts commit
6939a5aca7cfada279a24c307e772f33104fca20
.
Daniel Vetter supplied a set of fixes for all the module unload bugs he
could trigger on his machines, so let the fun recommence!
drivers/gpu/drm/i915/i915_dma.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_dma.c
b/drivers/gpu/drm/i915/i915_dma.c
index a99fae33bdf6bd8fe7fe39ccf7f9b070fa11b43c..f451af69d4377bb238300e11075b0033a448405d 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_dma.c
+++ b/
drivers/gpu/drm/i915/i915_dma.c
@@
-2065,9
+2065,6
@@
int i915_driver_load(struct drm_device *dev, unsigned long flags)
dev_priv->mchdev_lock = &mchdev_lock;
spin_unlock(&mchdev_lock);
- /* XXX Prevent module unload due to memory corruption bugs. */
- __module_get(THIS_MODULE);
-
return 0;
out_workqueue_free: