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-10-01 15:59:25 -0700
commit0bff836aa92b80766312114666f37d459d953fb2 (patch)
tree1a44efdb56b93ba54127b825810a5fb9eacad828 /drivers/video/tegra
parentad99dcd0cf6a0984d5a6102c986bde247a096df6 (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 (cherry picked from commit 80a7b7b2d10a97427e12884d469a518cc2b5f765) Reviewed-on: http://git-master/r/140033 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Tested-by: Matthew Pedro <mapedro@nvidia.com> Reviewed-by: Winnie Hsu <whsu@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 da7b9d1..b593f32 100644
--- a/drivers/video/tegra/fb.c
+++ b/drivers/video/tegra/fb.c
@@ -476,6 +476,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);