summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAri Hirvonen <ahirvonen@nvidia.com>2011-03-02 02:06:27 +0200
committerErik Gilling <konkers@android.com>2011-05-24 13:55:12 -0700
commit31d7b7582026fc16c5ca29908ff33e5af2a2510f (patch)
treeaf85e5f8805ec9acc2715479ffbc293ca27dc7f2 /include
parent789333436de3878b2ea878d4c2c030af7ed481ce (diff)
video: tegra: add display inversion support
Change-Id: Ied3851e0cb801f607499493f1e552f42daa97e6b Signed-off-by: Ari Hirvonen <ahirvonen@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/video/tegrafb.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/video/tegrafb.h b/include/video/tegrafb.h
index b9861bc7953a..01f94c6c2fb7 100644
--- a/include/video/tegrafb.h
+++ b/include/video/tegrafb.h
@@ -45,14 +45,18 @@
#define TEGRA_FB_WIN_FMT_YCbCr422RA 24
#define TEGRA_FB_WIN_FMT_YUV422RA 25
-#define TEGRA_FB_WIN_BLEND_NONE 0
-#define TEGRA_FB_WIN_BLEND_PREMULT 1
-#define TEGRA_FB_WIN_BLEND_COVERAGE 2
+#define TEGRA_FB_WIN_BLEND_NONE 0
+#define TEGRA_FB_WIN_BLEND_PREMULT 1
+#define TEGRA_FB_WIN_BLEND_COVERAGE 2
+
+#define TEGRA_FB_WIN_FLAG_INVERT_H (1 << 0)
+#define TEGRA_FB_WIN_FLAG_INVERT_V (1 << 1)
/* set index to -1 to ignore window data */
struct tegra_fb_windowattr {
__s32 index;
__u32 buff_id;
+ __u32 flags;
__u32 blend;
__u32 offset;
__u32 offset_u;