summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/dc/dc_priv.h
diff options
context:
space:
mode:
authorkevinh <kevinh@nvidia.com>2011-03-18 00:12:40 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:45:00 -0800
commit8e5b4bf943dd301cd6041b80732047ee308b4823 (patch)
tree14a348387bd0e9e56a5fd31d5fc2a8e8dd8d3292 /drivers/video/tegra/dc/dc_priv.h
parent683c33d8d6de1c117b99a89a2784ac0e10c88f29 (diff)
video: tegra: dsi: Stop dc stream at the frame end
Fixed tegra_dsi_stop_dc_stream() to flush register immediately. Added tegra_dsi_stop_dc_stream_at_frame_end(). Original-Change-Id: Ie4fe1f6d59e6bf0dab40251f33a0c2f8d816fdd8 Reviewed-on: http://git-master/r/23488 Reviewed-by: Kevin Huang <kevinh@nvidia.com> Tested-by: Kevin Huang <kevinh@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Original-Change-Id: I398cb977146656936c5768c2bc3ec83f7bdc7c66 Rebase-Id: Rda5a11692992edd47c49e0f30446efc0a26e747e
Diffstat (limited to 'drivers/video/tegra/dc/dc_priv.h')
-rw-r--r--drivers/video/tegra/dc/dc_priv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/tegra/dc/dc_priv.h b/drivers/video/tegra/dc/dc_priv.h
index 2042310c1e66..b01f569a31ee 100644
--- a/drivers/video/tegra/dc/dc_priv.h
+++ b/drivers/video/tegra/dc/dc_priv.h
@@ -22,6 +22,8 @@
#include <linux/list.h>
#include <linux/mutex.h>
#include <linux/wait.h>
+#include <linux/completion.h>
+
#include "../host/dev.h"
struct tegra_dc;
@@ -90,6 +92,8 @@ struct tegra_dc {
unsigned long underflow_mask;
struct work_struct reset_work;
+
+ struct completion v_blank_complete;
};
static inline void tegra_dc_io_start(struct tegra_dc *dc)