]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
video: tegra: l4t: set dc blank on display timeout
authorNaveen Kumar S <nkumars@nvidia.com>
Wed, 13 Jan 2016 11:05:05 +0000 (16:35 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Fri, 4 Mar 2016 13:44:43 +0000 (05:44 -0800)
In case of L4T, userspace doesn't take initiative to sync
the windows upon unblank. Driver needs to specifically set
dc to blank state while blanking (normal/powerdown) for
subsequent unblank call to re-sync all the windows. If not
display remains blank.

bug 200136625
bug 200144212
bug 200171335

Change-Id: I5b1e172e6fddfddb7bfdcd9e54afa810baf2bbef
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/932191
(cherry picked from commit c4437f442f8927d2ac4c0190aa255e5fee756588)
Reviewed-on: http://git-master/r/1020615
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
drivers/video/tegra/fb.c

index 0a0b9bbc9dadd49126f5cc76412a6dd9ae8ccfeb..7bc016f0033c26673a254c92fe09f45c562cb4b3 100644 (file)
@@ -356,6 +356,9 @@ static int tegra_fb_blank(int blank, struct fb_info *info)
                if (!dc->suspended && dc->enabled)
                        tegra_fb->curr_xoffset = -1;
                tegra_dc_disable(dc);
+#ifdef CONFIG_FRAMEBUFFER_CONSOLE
+               dc->blanked = true;
+#endif
                return 0;
 
        default: