mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
video: tegra: update overlay stride in fb_set_par
Fixes recovery graphics Change-Id: I68824dfcd29b40eaa27a8b5ee437e5763288a49e Signed-off-by: Erik Gilling <konkers@android.com>
This commit is contained in:
@@ -149,6 +149,7 @@ static int tegra_fb_set_par(struct fb_info *info)
|
||||
return -EINVAL;
|
||||
}
|
||||
info->fix.line_length = var->xres * var->bits_per_pixel / 8;
|
||||
tegra_fb->win->stride = info->fix.line_length;
|
||||
|
||||
if (var->pixclock) {
|
||||
struct tegra_dc_mode mode;
|
||||
|
||||
Reference in New Issue
Block a user