From 832ea7674a494f1099e61b623a37aee721b9630d Mon Sep 17 00:00:00 2001 From: Ari Hirvonen Date: Wed, 2 Mar 2011 02:06:27 +0200 Subject: video: tegra: add display inversion support Change-Id: Ied3851e0cb801f607499493f1e552f42daa97e6b Signed-off-by: Ari Hirvonen --- include/video/tegrafb.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'include/video') 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; -- cgit v1.2.3