summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/fb.c
diff options
context:
space:
mode:
authorMichael Frydrych <mfrydrych@nvidia.com>2014-04-23 09:15:07 +0300
committerRaghunandan Bayes <rbayes@nvidia.com>2014-04-25 00:07:37 -0700
commit73896aaf41ac24c5d5b31cdbcf8aff4f8f659a3e (patch)
tree6d825a7181e8578b2c820467b85fc7bfe21f9ab8 /drivers/video/tegra/fb.c
parent458c26866f9e0db96a154e0a8c0a0b4b097d55b3 (diff)
video: tegra: blank dc windows during dc releasedaily-2014.05.06.0_rel-roth-r4-partner
Window owned by a process should be blanked when the process releases dc or any individual window it has owned. The buffers lastly displayed on those windows will be unpinned. bug 1490686 bug 1467689 Change-Id: I3b3614a99b9598b7d432f08c4a95d8050a4ef99e Signed-off-by: Michael Frydrych <mfrydrych@nvidia.com> Reviewed-on: http://git-master/r/400894 GVS: Gerrit_Virtual_Submit Reviewed-by: David Dastous St Hilaire <ddastoussthi@nvidia.com> Tested-by: David Dastous St Hilaire <ddastoussthi@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/fb.c')
-rw-r--r--drivers/video/tegra/fb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/tegra/fb.c b/drivers/video/tegra/fb.c
index 5b8eca3a0321..df99434574ea 100644
--- a/drivers/video/tegra/fb.c
+++ b/drivers/video/tegra/fb.c
@@ -6,7 +6,7 @@
* Colin Cross <ccross@android.com>
* Travis Geiselbrecht <travis@palm.com>
*
- * Copyright (c) 2010-2012, NVIDIA CORPORATION, All rights reserved.
+ * Copyright (c) 2010-2014, NVIDIA CORPORATION, All rights reserved.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
@@ -287,7 +287,7 @@ static int tegra_fb_blank(int blank, struct fb_info *info)
case FB_BLANK_NORMAL:
dev_dbg(&tegra_fb->ndev->dev, "blank - normal\n");
- tegra_dc_blank(tegra_fb->win->dc);
+ tegra_dc_blank(tegra_fb->win->dc, TEGRA_DC_BLANK_ALL);
return 0;
case FB_BLANK_VSYNC_SUSPEND: