summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Frydrych <mfrydrych@nvidia.com>2011-11-14 14:04:47 +0200
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:50:24 -0800
commit86079a77cf695abe752bcfbf166f40a36deeb264 (patch)
tree74461735ecd3b89b6f845bdacd709ec959cc257a /include
parent36284052749cecb6e41236749e60ad013e9453e9 (diff)
video: tegra: Add support for surface mirroring
This adds flags for horizontal and vertical surface mirroring, and updates the ioctl handling code to set the appropriate core dc mirroring flags when the dc_ext mirroring flags are passed. Bug 905578 Change-Id: Idbe0c95cb0807aa9e26ccfdc42cf4ef0dc9eb38f Reviewed-on: http://git-master/r/64110 Reviewed-by: Michael Frydrych <mfrydrych@nvidia.com> Tested-by: Michael Frydrych <mfrydrych@nvidia.com> Reviewed-by: Markus Holtmanns <mholtmanns@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> Rebase-Id: R5795faa3988df9f87e669f40aab9b0281111a4b0
Diffstat (limited to 'include')
-rw-r--r--include/video/tegra_dc_ext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/video/tegra_dc_ext.h b/include/video/tegra_dc_ext.h
index 2c4ce57e5c00..7f504be1346a 100644
--- a/include/video/tegra_dc_ext.h
+++ b/include/video/tegra_dc_ext.h
@@ -55,6 +55,8 @@
#define TEGRA_DC_EXT_BLEND_PREMULT 1
#define TEGRA_DC_EXT_BLEND_COVERAGE 2
+#define TEGRA_DC_EXT_FLIP_FLAG_INVERT_H (1 << 0)
+#define TEGRA_DC_EXT_FLIP_FLAG_INVERT_V (1 << 1)
#define TEGRA_DC_EXT_FLIP_FLAG_TILED (1 << 2)
struct tegra_dc_ext_flip_windowattr {