Commit 1896344b authored by Alan Cox's avatar Alan Cox Committed by Dave Airlie
Browse files

gma500: Fix leak of uncached page

This was reported a long time ago (and I apologize to whoever it was that
reported it as I've lost the original report).
Signed-off-by: default avatarAlan Cox <>
Signed-off-by: default avatarDave Airlie <>
parent c51a3fd6
......@@ -246,6 +246,7 @@ static int psb_driver_unload(struct drm_device *dev)
if (dev_priv->scratch_page) {
set_pages_wb(dev_priv->scratch_page, 1);
dev_priv->scratch_page = NULL;
Supports Markdown
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