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

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

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