video: tegra: update overlay stride in fb_set_par
Erik Gilling [Fri, 17 Sep 2010 21:44:28 +0000 (14:44 -0700)]
Fixes recovery graphics

Change-Id: I68824dfcd29b40eaa27a8b5ee437e5763288a49e
Signed-off-by: Erik Gilling <konkers@android.com>

drivers/video/tegra/fb.c

index 87ba58b..746ea53 100644 (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;