diff options
author | Michael Frydrych <mfrydrych@nvidia.com> | 2014-04-23 09:15:07 +0300 |
---|---|---|
committer | Riham Haidar <rhaidar@nvidia.com> | 2014-05-06 10:50:05 -0700 |
commit | b072055d6b50a5b6457f38cfe1cb870266a08c63 (patch) | |
tree | 40bf8d1394cf8389e6c3b20109bfe22c2f9f6c25 /arch | |
parent | d5cf71490d4a83b04f588dadf3d1443deaaedba5 (diff) |
video: tegra: blank dc windows during dc release
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
(cherry picked from commit 73896aaf41ac24c5d5b31cdbcf8aff4f8f659a3e)
Reviewed-on: http://git-master/r/403703
(cherry picked from commit d1df0c558fa61ac9b30687e935f4fae50743a504)
Reviewed-on: http://git-master/r/405161
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/dc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/include/mach/dc.h b/arch/arm/mach-tegra/include/mach/dc.h index 37bdbffec2b0..9e3913a0c89c 100644 --- a/arch/arm/mach-tegra/include/mach/dc.h +++ b/arch/arm/mach-tegra/include/mach/dc.h @@ -799,7 +799,7 @@ bool tegra_dc_has_vsync(struct tegra_dc *dc); void tegra_dc_vsync_enable(struct tegra_dc *dc); void tegra_dc_vsync_disable(struct tegra_dc *dc); 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); |