uterm: fbdev: set mode dimensions after activation

We do not set the dimensions correctly but always use 0/0. Fix this by
overwriting the values on mode creation.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
David Herrmann 2013-01-11 17:27:22 +01:00
parent bbe3a5cc2f
commit 464fbe7fef

View File

@ -318,6 +318,7 @@ static int display_activate_force(struct uterm_display *disp,
m->next = disp->modes;
disp->modes = m;
fbdev_mode = m->data;
fbdev_mode->width = fbdev->xres;
fbdev_mode->height = fbdev->yres;
disp->current_mode = disp->modes;