summaryrefslogtreecommitdiff
path: root/drivers/video/tegra
diff options
context:
space:
mode:
authorShashank Sharma <shashanks@nvidia.com>2012-08-08 14:55:21 +0530
committerMatthew Pedro <mapedro@nvidia.com>2012-08-10 08:37:39 -0700
commit80a7b7b2d10a97427e12884d469a518cc2b5f765 (patch)
tree25225a3a3e89629ab243c3996dd228a77d53790f /drivers/video/tegra
parentd376bc491a460353124adc0f2be8612add0d8e76 (diff)
arm: tegra: fb: Apply new mode even if its current
Set activation of a mode forcefully via setting FB_ACTIVATE_FORCE flag. Required for stereo modes also. Bug 1005399 Change-Id: I37872cc2a04abc8774a5f9f9df7d9e90f2c977f6 Signed-off-by: Shashank Sharma <shashanks@nvidia.com> Reviewed-on: http://git-master/r/122087 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Diffstat (limited to 'drivers/video/tegra')
-rw-r--r--drivers/video/tegra/fb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/tegra/fb.c b/drivers/video/tegra/fb.c
index 835264d..cb7525e 100644
--- a/drivers/video/tegra/fb.c
+++ b/drivers/video/tegra/fb.c
@@ -460,6 +460,7 @@ static int tegra_fb_activate_mode(struct tegra_fb_info *fb_info,
int err;
struct fb_info *info = fb_info->info;
+ var->activate |= FB_ACTIVATE_FORCE;
console_lock();
info->flags |= FBINFO_MISC_USEREVENT;
err = fb_set_var(info, var);