diff options
author | Raghavendra VK <rvk@nvidia.com> | 2012-08-03 21:25:43 -0700 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2012-08-22 11:25:42 +0530 |
commit | de2b0dcf1437c957804faa03f57fb2d6d05b6b80 (patch) | |
tree | 8668288b634e646425af684a2d6c6f265a93db78 /drivers/video/tegra/dc/dc_priv.h | |
parent | 0c8b9493df128b88aa1f7981006c00ed5b67eb11 (diff) |
video: tegra: dc: Add timestamp support
bug 1021221
Change-Id: Ifbe007de5bdeafaa15a0b3f2a138086045eba160
Signed-off-by: Raghavendra VK <rvk@nvidia.com>
Reviewed-on: http://git-master/r/118179
(cherry picked from commit 74be8d4e7210d7bcea0d55565a7cbb06d6cc960e)
Reviewed-on: http://git-master/r/121087
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Robert Morell <rmorell@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/dc/dc_priv.h')
-rw-r--r-- | drivers/video/tegra/dc/dc_priv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/tegra/dc/dc_priv.h b/drivers/video/tegra/dc/dc_priv.h index 209bd7fa136d..c03f1b857cc1 100644 --- a/drivers/video/tegra/dc/dc_priv.h +++ b/drivers/video/tegra/dc/dc_priv.h @@ -113,6 +113,7 @@ struct tegra_dc { void *out_data; struct tegra_dc_mode mode; + s64 frametime_ns; struct tegra_dc_win windows[DC_N_WINDOWS]; struct tegra_dc_blend blend; @@ -121,6 +122,7 @@ struct tegra_dc { struct tegra_dc_cmu cmu; #endif wait_queue_head_t wq; + wait_queue_head_t timestamp_wq; struct mutex lock; struct mutex one_shot_lock; @@ -166,6 +168,7 @@ struct tegra_dc { struct delayed_work underflow_work; u32 one_shot_delay_ms; struct delayed_work one_shot_work; + s64 frame_end_timestamp; }; #define print_mode_info(dc, mode) do { \ |