diff options
author | Robert Morell <rmorell@nvidia.com> | 2011-07-11 13:30:23 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:48:11 -0800 |
commit | 6964bbc3358ef35caf426fc06490a9359a91ab6b (patch) | |
tree | a1787230c7032bca3d0fbd47d5ccb0c433192fec /include | |
parent | 4e8877b4267327db5a012e55a410ba69da550419 (diff) |
video: tegra: Add flags to tegra_overlay.h
These were missing from tegra_overlay.h, but present in tegrafb.h.
bug 818525
Original-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>
Rebase-Id: R8b80f31a7b2de86c3032cf3f0fad59e838b9eac4
Diffstat (limited to 'include')
-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]; |