video: tegra: dc: dont restore windows in unblank
Rakesh Iyer [Mon, 15 Jul 2013 18:41:05 +0000 (11:41 -0700)]
During unblank, the original framebuffer should be the window 0.
This is broken so for the short term we will keep windows unchanged on unblank.

Bug 1299586
Bug 1358722

Change-Id: Ib16d901b9bc77d6ec9075a054c0b5e5c5d52cb55
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/248842
(cherry picked from commit 92d5cd55b603857daafb18828c83dc2cc6b1a527)
Reviewed-on: http://git-master/r/273765
(cherry picked from commit 45a40357fc3bcb870a3fd505f690130cf79d3008)
Reviewed-on: http://git-master/r/302769
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

drivers/video/tegra/fb.c

index cb2f75a..a4b0c15 100644 (file)
@@ -281,7 +281,6 @@ static int tegra_fb_blank(int blank, struct fb_info *info)
        switch (blank) {
        case FB_BLANK_UNBLANK:
                dev_dbg(&tegra_fb->ndev->dev, "unblank\n");
-               tegra_fb->win->flags = TEGRA_WIN_FLAG_ENABLED;
                tegra_dc_enable(tegra_fb->win->dc);
                tegra_dc_update_windows(&tegra_fb->win, 1);
                tegra_dc_sync_windows(&tegra_fb->win, 1);