summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/include/mach/dc.h
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 /arch/arm/mach-tegra/include/mach/dc.h
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 'arch/arm/mach-tegra/include/mach/dc.h')
-rw-r--r--arch/arm/mach-tegra/include/mach/dc.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/include/mach/dc.h b/arch/arm/mach-tegra/include/mach/dc.h
index b5abc2400558..2edd7e6dbd53 100644
--- a/arch/arm/mach-tegra/include/mach/dc.h
+++ b/arch/arm/mach-tegra/include/mach/dc.h
@@ -6,7 +6,7 @@
* Author:
* Erik Gilling <konkers@google.com>
*
- * Copyright (C) 2010-2011 NVIDIA Corporation
+ * Copyright (C) 2010-2014 NVIDIA Corporation
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
@@ -31,6 +31,7 @@
#define DC_N_WINDOWS 3
#define DEFAULT_FPGA_FREQ_KHZ 160000
+#define TEGRA_DC_BLANK_ALL (~0)
/* DSI pixel data format */
enum {
@@ -685,7 +686,7 @@ bool tegra_dc_hpd(struct tegra_dc *dc);
void tegra_dc_get_fbvblank(struct tegra_dc *dc, struct fb_vblank *vblank);
int tegra_dc_wait_for_vsync(struct tegra_dc *dc);
-void tegra_dc_blank(struct tegra_dc *dc);
+void tegra_dc_blank(struct tegra_dc *dc, unsigned windows);
void tegra_dc_enable(struct tegra_dc *dc);
void tegra_dc_disable(struct tegra_dc *dc);