summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFrancis Hart <fhart@nvidia.com>2011-03-23 12:30:15 +0200
committerVarun Colbert <vcolbert@nvidia.com>2011-04-15 18:34:31 -0700
commit063b3c474383cb38a515e4460196bd8ed3946306 (patch)
treed48663027048d7886153e6207fb8b436a8181b86 /include
parentf9dce2202b259c240cf5867654b5340ff8e0c3ab (diff)
tegra dc: fix premult dst alpha blending
Register assignments were wrong for incoming overlay blend parameters. DisplayManagerLite policy sets src combine mode to premult to signal dst premult aplha blending. But the DC expects premult set for the dst window for this mode. Bug 796009 Change-Id: I5929bc4cd362ac60c7a9f14bb4ae83da04b857ab Reviewed-on: http://git-master/r/26835 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/tegra_overlay.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/tegra_overlay.h b/include/linux/tegra_overlay.h
index 673a40f832c0..74c4facdb71b 100644
--- a/include/linux/tegra_overlay.h
+++ b/include/linux/tegra_overlay.h
@@ -48,10 +48,13 @@ struct tegra_overlay_windowattr {
__u32 flags;
};
+#define TEGRA_OVERLAY_FLIP_FLAG_BLEND_REORDER (1 << 0)
+
struct tegra_overlay_flip_args {
struct tegra_overlay_windowattr win[TEGRA_FB_FLIP_N_WINDOWS];
__u32 post_syncpt_id;
__u32 post_syncpt_val;
+ __u32 flags;
};
#define TEGRA_OVERLAY_IOCTL_MAGIC 'O'