summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobert Morell <rmorell@nvidia.com>2011-03-21 14:42:51 -0700
committerVarun Colbert <vcolbert@nvidia.com>2011-08-11 11:54:15 -0700
commitff8196ae3958f2be1a15e2572bb5f8c6bb37d28a (patch)
tree3ab3fe06fd3a064c7a702653904ff9e4704849da /include
parent2cd1c94506b47ee57bc0ee261ebe624b35c6b51a (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 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,