Commit 6640aab6 authored by Imre Deak's avatar Imre Deak Committed by Daniel Vetter

drm/i915: release scratch page at module unload

Signed-off-by: default avatarImre Deak <imre.deak@intel.com>
Acked-by: default avatarMika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 55d23285
......@@ -1790,6 +1790,8 @@ int i915_driver_unload(struct drm_device *dev)
destroy_workqueue(dev_priv->wq);
pm_qos_remove_request(&dev_priv->pm_qos);
dev_priv->gtt.gtt_remove(dev);
if (dev_priv->slab)
kmem_cache_destroy(dev_priv->slab);
......
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