Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

drm/i915: release scratch page at module unload

parent 55d23285
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);