diff options
author | Ari Hirvonen <ahirvonen@nvidia.com> | 2011-03-02 02:06:27 +0200 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:37:10 -0800 |
commit | 832ea7674a494f1099e61b623a37aee721b9630d (patch) | |
tree | 5da21de40066f06a69d27dc8d9519d9401576104 /include/video | |
parent | d7b37edf72e8a054bc6adeae10ea1d226594966e (diff) |
video: tegra: add display inversion support
Change-Id: Ied3851e0cb801f607499493f1e552f42daa97e6b
Signed-off-by: Ari Hirvonen <ahirvonen@nvidia.com>
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/tegrafb.h | 10 |
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; |