Commit 83e41eb9 authored by Chris Wilson's avatar Chris Wilson

Revert "drm/i915: Prevent module unload to avoid random memory corruption"

This reverts commit 6939a5ac.

Daniel Vetter supplied a set of fixes for all the module unload bugs he
could trigger on his machines, so let the fun recommence!
parent fb9a90f7
...@@ -2065,9 +2065,6 @@ int i915_driver_load(struct drm_device *dev, unsigned long flags) ...@@ -2065,9 +2065,6 @@ int i915_driver_load(struct drm_device *dev, unsigned long flags)
dev_priv->mchdev_lock = &mchdev_lock; dev_priv->mchdev_lock = &mchdev_lock;
spin_unlock(&mchdev_lock); spin_unlock(&mchdev_lock);
/* XXX Prevent module unload due to memory corruption bugs. */
__module_get(THIS_MODULE);
return 0; return 0;
out_workqueue_free: out_workqueue_free:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment