summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobert Morell <rmorell@nvidia.com>2011-02-16 10:45:53 -0800
committerVarun Colbert <vcolbert@nvidia.com>2011-08-11 11:35:30 -0700
commit4edcb139115cbb3fe390949098bf91a7b94d7bc9 (patch)
tree62405c47ccb647b8445db00caefa3a26481bc0e6 /include
parent91555e9c4212b27af3982d7e2aa787cf220a7087 (diff)
video: tegra: Implement FLIP dc extension ioctl.
This is very similar to the tegra_fb FLIP ioctl. bug 818525 Change-Id: Iba32ab5bf730b575477c62a8ae4394f1779ef65e Signed-off-by: Robert Morell <rmorell@nvidia.com> Reviewed-on: http://git-master/r/40514 Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/video/tegra_dc_ext.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/video/tegra_dc_ext.h b/include/video/tegra_dc_ext.h
index 18f2262a13c1..346825aa4147 100644
--- a/include/video/tegra_dc_ext.h
+++ b/include/video/tegra_dc_ext.h
@@ -21,6 +21,11 @@
#include <linux/types.h>
#include <linux/ioctl.h>
+#if defined(__KERNEL__)
+# include <linux/time.h>
+#else
+# include <time.h>
+#endif
#define TEGRA_DC_EXT_FMT_P1 0
#define TEGRA_DC_EXT_FMT_P2 1
@@ -68,14 +73,20 @@ struct tegra_dc_ext_flip_windowattr {
__u32 out_w;
__u32 out_h;
__u32 z;
+ __u32 swap_interval;
+ struct timespec timestamp;
__u32 pre_syncpt_id;
__u32 pre_syncpt_val;
+ /* Leave some wiggle room for future expansion */
+ __u32 pad[8];
};
#define TEGRA_DC_EXT_FLIP_N_WINDOWS 3
struct tegra_dc_ext_flip {
struct tegra_dc_ext_flip_windowattr win[TEGRA_DC_EXT_FLIP_N_WINDOWS];
+ __u32 post_syncpt_id;
+ __u32 post_syncpt_val;
};
#define TEGRA_DC_EXT_SET_NVMAP_FD \