diff options
author | Ari Hirvonen <ahirvonen@nvidia.com> | 2011-03-02 02:06:27 +0200 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2011-05-27 19:52:32 -0700 |
commit | 60c73b63e651413fb8fba2c03b32c21843e8de22 (patch) | |
tree | 489d69cd9785ef8f40317ae1cd057c1cb2a4126f /include | |
parent | b5d5cd3e4e7af0915d2013f578f285244d7e5acd (diff) |
video: tegra: add display inversion support
Change-Id: I6ec62abdaf3a8ec2e59e2a533b36b280d69538e1
Signed-off-by: Ari Hirvonen <ahirvonen@nvidia.com>
Reviewed-on: http://git-master/r/33037
Reviewed-by: Michael I Gold <gold@nvidia.com>
Tested-by: Michael I Gold <gold@nvidia.com>
Diffstat (limited to 'include')
-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 c589742b2cfc..3d75f2dbe0eb 100644 --- a/include/video/tegrafb.h +++ b/include/video/tegrafb.h @@ -45,9 +45,12 @@ #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) #define TEGRA_FB_WIN_LAYOUT_LINEAR 0 #define TEGRA_FB_WIN_LAYOUT_TILED 1 @@ -56,6 +59,7 @@ struct tegra_fb_windowattr { __s32 index; __u32 buff_id; + __u32 flags; __u32 blend; __u32 layout; __u32 offset; |