summaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorXue Dong <xdong@nvidia.com>2013-01-24 13:34:06 -0800
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 01:29:26 -0700
commit46faf97bfd50b576a277c1ecbb29be6aa45f7af8 (patch)
treea63a077a6863df9d1ae56a8ceb01e01b94eb55bb /include/video
parent49f52b7e3f79c19650ea75f71d3eb508ce6cc464 (diff)
video: tegra: dc: flip API for more than 3 windows
add new ioctl that supports flip of an arbitrary number of windows. Change-Id: I6368129092921c665db5a8063f714d9f8fc14e63 Signed-off-by: Xue Dong <xdong@nvidia.com> Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/193929 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com> Reviewed-by: Tuomas Kulve <tkulve@nvidia.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/tegra_dc_ext.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/include/video/tegra_dc_ext.h b/include/video/tegra_dc_ext.h
index 52c9f21a5372..edb0f6565782 100644
--- a/include/video/tegra_dc_ext.h
+++ b/include/video/tegra_dc_ext.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2011, NVIDIA Corporation
+ * Copyright (C) 2011-2013, NVIDIA Corporation
*
* Author: Robert Morell <rmorell@nvidia.com>
* Some code based on fbdev extensions written by:
@@ -107,6 +107,16 @@ struct tegra_dc_ext_flip {
__u32 post_syncpt_val;
};
+struct tegra_dc_ext_flip_2 {
+ struct tegra_dc_ext_flip_windowattr *win;
+ __u8 win_num;
+ __u8 reserved1; /* unused - must be 0 */
+ __u16 reserved2; /* unused - must be 0 */
+ __u32 post_syncpt_id;
+ __u32 post_syncpt_val;
+ __u16 dirty_rect[4]; /* x,y,w,h for partial screen update. 0 ignores */
+};
+
/*
* Cursor image format:
* - Tegra hardware supports two colors: foreground and background, specified
@@ -269,6 +279,10 @@ struct tegra_dc_ext_feature {
#define TEGRA_DC_EXT_SET_CMU \
_IOW('D', 0x0D, struct tegra_dc_ext_cmu)
+#define TEGRA_DC_EXT_FLIP2 \
+ _IOWR('D', 0x0E, struct tegra_dc_ext_flip_2)
+
+
enum tegra_dc_ext_control_output_type {
TEGRA_DC_EXT_DSI,
TEGRA_DC_EXT_LVDS,