summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobert Morell <rmorell@nvidia.com>2011-03-21 14:42:51 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-08-22 16:51:59 -0700
commit873b21d3a5b9ffbf10b41aec42d03577d9938af4 (patch)
tree6301c3900d0a6f6455ed1543a8d5fddb3a7ee789 /include
parent6a23884d09939cab5e247d25372a8e8d6f8b897e (diff)
video: tegra: Expose vblank syncpoint
This change adds support for userspace to query the syncpoint that display autoincrements every vblank. This can be useful for applications to time buffer submissions to throttle rendering and prevent excessive host stalls. bug 818525 Original-Change-Id: I050e4dcd08609da802f10eeec5b70da181b21717 Signed-off-by: Robert Morell <rmorell@nvidia.com> Reviewed-on: http://git-master/r/40529 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/video/tegra_dc_ext.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/video/tegra_dc_ext.h b/include/video/tegra_dc_ext.h
index 971beccb57fc..5ac7899bc6dd 100644
--- a/include/video/tegra_dc_ext.h
+++ b/include/video/tegra_dc_ext.h
@@ -184,6 +184,13 @@ struct tegra_dc_ext_csc {
#define TEGRA_DC_EXT_SET_CSC \
_IOW('D', 0x08, struct tegra_dc_ext_csc)
+/*
+ * Returns the auto-incrementing vblank syncpoint for the head associated with
+ * this device node
+ */
+#define TEGRA_DC_EXT_GET_VBLANK_SYNCPT \
+ _IOR('D', 0x09, __u32)
+
enum tegra_dc_ext_control_output_type {
TEGRA_DC_EXT_DSI,