From: Erik Gilling Date: Thu, 14 Oct 2010 21:56:05 +0000 (-0700) Subject: video: tegra: fb var info on monspecs change X-Git-Tag: firefly_0821_release~9833^2~152^2~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=686530be3e6dcdda097141a5ac8c833db193a633;p=firefly-linux-kernel-4.4.55.git video: tegra: fb var info on monspecs change activates the default mode Change-Id: I34d27d2947377771e8f1c89f3933204d7e65364f Signed-off-by: Erik Gilling --- diff --git a/drivers/video/tegra/fb.c b/drivers/video/tegra/fb.c index 961e0a62d06b..8e0964841cdb 100644 --- a/drivers/video/tegra/fb.c +++ b/drivers/video/tegra/fb.c @@ -576,6 +576,9 @@ void tegra_fb_update_monspecs(struct tegra_fb_info *fb_info, fb_info->info->mode = (struct fb_videomode *) fb_find_best_display(specs, &fb_info->info->modelist); + fb_videomode_to_var(&fb_info->info->var, fb_info->info->mode); + tegra_fb_set_par(fb_info->info); + event.info = fb_info->info; fb_notifier_call_chain(FB_EVENT_NEW_MODELIST, &event); mutex_unlock(&fb_info->info->lock);