diff options
author | Kevin Huang <kevinh@nvidia.com> | 2012-06-08 16:15:55 -0700 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2012-06-13 03:43:12 -0700 |
commit | 19ca0279dd147b6036e289e41e81008edd385b2a (patch) | |
tree | 7983f28bce6680e9b7b770e2e6b9cee024d1caaf /drivers/video/tegra/dc/dc_priv.h | |
parent | 915f1a1e58c1aa60d1fa1045b519e82f9c0c4b05 (diff) |
video: tegra: dc: Use ref-count to mask vblank interrupt.
Bug 990586
Change-Id: I63da2bd0aaae86070718e0d769b8c9555db18547
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/107714
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/dc/dc_priv.h')
-rw-r--r-- | drivers/video/tegra/dc/dc_priv.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/video/tegra/dc/dc_priv.h b/drivers/video/tegra/dc/dc_priv.h index 06f2a6061bf6..351998683008 100644 --- a/drivers/video/tegra/dc/dc_priv.h +++ b/drivers/video/tegra/dc/dc_priv.h @@ -128,6 +128,7 @@ struct tegra_dc { struct completion frame_end_complete; struct work_struct vblank_work; + long vblank_ref_count; struct { u64 underflows; @@ -292,6 +293,10 @@ static inline bool tegra_dc_is_yuv_planar(int fmt) return false; } +static inline void tegra_dc_unmask_interrupt(struct tegra_dc *dc, u32 int_val); +static inline void tegra_dc_mask_interrupt(struct tegra_dc *dc, u32 int_val); +static bool tegra_dc_windows_are_dirty(struct tegra_dc *dc); + void tegra_dc_setup_clk(struct tegra_dc *dc, struct clk *clk); extern struct tegra_dc_out_ops tegra_dc_rgb_ops; |