uterm: video_fbdev: save stride on open
Copy stride into the fbdev structure so we can use it throughout the code. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
1 parent
8c64daa5df
commit
c8fbc14425
1 file changed
+1
@@ -208,6 +208,7 @@ static int display_activate_force(struct uterm_display *disp,
|
||||
disp->fbdev.yres = vinfo->yres;
|
||||
disp->fbdev.len = len;
|
||||
disp->fbdev.bpp = vinfo->bits_per_pixel / 8;
|
||||
disp->fbdev.stride = finfo->line_length;
|
||||
disp->fbdev.bufid = 0;
|
||||
|
||||
disp->flags |= DISPLAY_ONLINE;
|
||||
|
||||
Reference in new issue
Block a user