瀏覽代碼

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

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!
Chris Wilson 14 年之前
父節點
當前提交
83e41eb9cc
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      drivers/gpu/drm/i915/i915_dma.c

+ 0 - 3
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: