Skip to content

Commit

Permalink
Revert "drm/i915: Prevent module unload to avoid random memory corrup…
Browse files Browse the repository at this point in the history
…tion"

This reverts commit 6939a5a.

Daniel Vetter supplied a set of fixes for all the module unload bugs he
could trigger on his machines, so let the fun recommence!
  • Loading branch information
Chris Wilson committed Oct 19, 2010
1 parent fb9a90f commit 83e41eb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/gpu/drm/i915/i915_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 83e41eb

Please sign in to comment.