diff options
author | Robert Morell <rmorell@nvidia.com> | 2011-07-11 13:30:23 -0700 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-08-11 11:34:20 -0700 |
commit | 93e80fdce4ddb7b9edc561a127716c44f23b1019 (patch) | |
tree | 5924c99bd43f43fe6eb49933b71ce0993d4ea2b6 /include/linux | |
parent | 8172e13348807fc912d5867c2ca1ae72f8a4b3e8 (diff) |
video: tegra: Add flags to tegra_overlay.h
These were missing from tegra_overlay.h, but present in tegrafb.h.
bug 818525
Change-Id: Ia174516a068dd3c53d462eb9c68b3e76e0ea25ff
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40511
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/tegra_overlay.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/tegra_overlay.h b/include/linux/tegra_overlay.h index 94d486b353b2..2a6025afdad7 100644 --- a/include/linux/tegra_overlay.h +++ b/include/linux/tegra_overlay.h @@ -20,6 +20,14 @@ #include <linux/types.h> #include <video/tegrafb.h> +#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_FLAG_TILED (1 << 2) + /* set index to -1 to ignore window data */ struct tegra_overlay_windowattr { __s32 index; @@ -49,6 +57,7 @@ struct tegra_overlay_windowattr { }; #define TEGRA_OVERLAY_FLIP_FLAG_BLEND_REORDER (1 << 0) +#define TEGRA_FB_FLIP_N_WINDOWS 3 struct tegra_overlay_flip_args { struct tegra_overlay_windowattr win[TEGRA_FB_FLIP_N_WINDOWS]; |