OMAPDSS: DISPC: Add writeback register offsets and dss features structs
authorArchit Taneja <archit@ti.com>
Mon, 16 Jul 2012 10:24:24 +0000 (15:54 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 26 Sep 2012 11:58:50 +0000 (14:58 +0300)
commit7a155be39e95fa4bf61bdc4c4456316a52421185
tree503b71aae6177d3832201ff74e0031978d4f32aa
parent20fbb50be4ff22b443183ffb4b5e6dd0691a4fc1
OMAPDSS: DISPC: Add writeback register offsets and dss features structs

Since writeback has many overlay like properties, and most of it's registers are
similar to that of overlays, it's possible to reuse most of the overlay related
DISPC code for writeback when considering it as a plane. Writeback was added as
a plane in the omap_plane field as OMAP_DSS_WB.

Add the writeback register offsets in dispc.h, add minimal WB plane related info
needed in dss_features. Add a function which returns the number of writeback
pipelines an OMAP version has.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/dispc.h
drivers/video/omap2/dss/dss_features.c
drivers/video/omap2/dss/dss_features.h