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:
Erik Gilling
2010-09-17 14:44:28 -07:00
parent cef728fe09
commit 90b46c5cf7

View File

@@ -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;