summaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorArchit Taneja2012-09-22 09:00:17 +0200
committerTomi Valkeinen2012-09-26 13:58:49 +0200
commitd79db853000c271fbfc944dc1d4f527805109b0c (patch)
tree353e5e7eaffa2b9b5e870c848c429769ca647706 /include/video
parentOMAPDSS: DISPC: Pass overlay caps as a parameter to dispc plane functions (diff)
downloadkernel-qcow2-linux-d79db853000c271fbfc944dc1d4f527805109b0c.tar.gz
kernel-qcow2-linux-d79db853000c271fbfc944dc1d4f527805109b0c.tar.xz
kernel-qcow2-linux-d79db853000c271fbfc944dc1d4f527805109b0c.zip
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 {