projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c51a3fd
)
gma500: Fix leak of uncached page
author
Alan Cox
<alan@linux.intel.com>
Wed, 25 Apr 2012 13:36:13 +0000
(14:36 +0100)
committer
Dave Airlie
<airlied@redhat.com>
Fri, 27 Apr 2012 08:22:57 +0000
(09:22 +0100)
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: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/gma500/psb_drv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/gma500/psb_drv.c
b/drivers/gpu/drm/gma500/psb_drv.c
index c34adf9d910ac11ab72986bfab539e203a7ae330..d5a6eab8227e43e9f0d992ea7d881db82658eace 100644
(file)
--- a/
drivers/gpu/drm/gma500/psb_drv.c
+++ b/
drivers/gpu/drm/gma500/psb_drv.c
@@
-246,6
+246,7
@@
static int psb_driver_unload(struct drm_device *dev)
}
psb_gtt_takedown(dev);
if (dev_priv->scratch_page) {
+ set_pages_wb(dev_priv->scratch_page, 1);
__free_page(dev_priv->scratch_page);
dev_priv->scratch_page = NULL;
}