summaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2012-09-22 11:00:17 +0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-09-26 15:58:49 +0400
commitd79db853000c271fbfc944dc1d4f527805109b0c (patch)
tree353e5e7eaffa2b9b5e870c848c429769ca647706 /include/video
parent5b54ed3ec36ddc8ac25aff9233c7d3fb3e2b629a (diff)
downloadlinux-d79db853000c271fbfc944dc1d4f527805109b0c.tar.xz
OMAPDSS: OVERLAY: Add position and replication as overlay caps
Add position and replication as overlay caps, and pass overlay caps as an argument to the corresponding functions. Adding position and replication to overlay caps seems a bit unnecessary, but it allows us to use the corresponding functions for writeback too. These caps will be set for all overlays, but not for writeback. This is done so writeback can reuse dispc_ovl_setup() to the maximum. Signed-off-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/omapdss.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index e65e2e9e16eb..46097bd052a2 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -187,6 +187,8 @@ enum omap_overlay_caps {
OMAP_DSS_OVL_CAP_GLOBAL_ALPHA = 1 << 1,
OMAP_DSS_OVL_CAP_PRE_MULT_ALPHA = 1 << 2,
OMAP_DSS_OVL_CAP_ZORDER = 1 << 3,
+ OMAP_DSS_OVL_CAP_POS = 1 << 4,
+ OMAP_DSS_OVL_CAP_REPLICATION = 1 << 5,
};
enum omap_overlay_manager_caps {