OMAPDSS: OVERLAY: Add position and replication as overlay caps
authorArchit Taneja <archit@ti.com>
Sat, 22 Sep 2012 07:00:17 +0000 (12:30 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 26 Sep 2012 11:58:49 +0000 (14:58 +0300)
commitd79db853000c271fbfc944dc1d4f527805109b0c
tree353e5e7eaffa2b9b5e870c848c429769ca647706
parent5b54ed3ec36ddc8ac25aff9233c7d3fb3e2b629a
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>
drivers/video/omap2/dss/dispc.c
drivers/video/omap2/dss/dss_features.c
include/video/omapdss.h