From: Erik Gilling Date: Fri, 17 Sep 2010 21:44:28 +0000 (-0700) Subject: video: tegra: update overlay stride in fb_set_par X-Git-Tag: firefly_0821_release~9834^2~551 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7a03e1433ed84059967df90b2e4b53dca4dac148;p=firefly-linux-kernel-4.4.55.git video: tegra: update overlay stride in fb_set_par Fixes recovery graphics Change-Id: I68824dfcd29b40eaa27a8b5ee437e5763288a49e Signed-off-by: Erik Gilling --- diff --git a/drivers/video/tegra/fb.c b/drivers/video/tegra/fb.c index 4c0d719bb69c..cb0b1e8cc12e 100644 --- a/drivers/video/tegra/fb.c +++ b/drivers/video/tegra/fb.c @@ -127,6 +127,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;