projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f50314
)
gma500: wide framebuffer memory
author
Alan Cox
<alan@linux.intel.com>
Thu, 3 May 2012 14:05:53 +0000
(15:05 +0100)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 3 May 2012 15:28:03 +0000
(16:28 +0100)
If we set a small text framebuffer and have a bigger scanout then we want
to send black not random bits for the overscan.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/gma500/framebuffer.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/gma500/framebuffer.c
b/drivers/gpu/drm/gma500/framebuffer.c
index c9fe4bdeb6816ad17c8c3c0cc4289506fdb43615..4fc0d08bd61baf4c3db367de6cb780819e359070 100644
(file)
--- a/
drivers/gpu/drm/gma500/framebuffer.c
+++ b/
drivers/gpu/drm/gma500/framebuffer.c
@@
-408,6
+408,8
@@
static int psbfb_create(struct psb_fbdev *fbdev,
return -ENOMEM;
}
+ memset(dev_priv->vram_addr + backing->offset, 0, size);
+
mutex_lock(&dev->struct_mutex);
info = framebuffer_alloc(0, device);