Commit bb849779 authored by Alan Cox's avatar Alan Cox Committed by Dave Airlie

gma500: wide framebuffer memory

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: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 5f503148
...@@ -408,6 +408,8 @@ static int psbfb_create(struct psb_fbdev *fbdev, ...@@ -408,6 +408,8 @@ static int psbfb_create(struct psb_fbdev *fbdev,
return -ENOMEM; return -ENOMEM;
} }
memset(dev_priv->vram_addr + backing->offset, 0, size);
mutex_lock(&dev->struct_mutex); mutex_lock(&dev->struct_mutex);
info = framebuffer_alloc(0, device); info = framebuffer_alloc(0, device);
......
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