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:
parent
bbe3a5cc2f
commit
464fbe7fef
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user