From 7a155be39e95fa4bf61bdc4c4456316a52421185 Mon Sep 17 00:00:00 2001 From: Archit Taneja Date: Mon, 16 Jul 2012 15:54:24 +0530 Subject: 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 --- drivers/video/omap2/dss/dss_features.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/video/omap2/dss/dss_features.h') diff --git a/drivers/video/omap2/dss/dss_features.h b/drivers/video/omap2/dss/dss_features.h index 89df2aa860d..9218113b5e8 100644 --- a/drivers/video/omap2/dss/dss_features.h +++ b/drivers/video/omap2/dss/dss_features.h @@ -105,6 +105,7 @@ enum dss_range_param { /* DSS Feature Functions */ int dss_feat_get_num_mgrs(void); int dss_feat_get_num_ovls(void); +int dss_feat_get_num_wbs(void); unsigned long dss_feat_get_param_min(enum dss_range_param param); unsigned long dss_feat_get_param_max(enum dss_range_param param); enum omap_display_type dss_feat_get_supported_displays(enum omap_channel channel); -- cgit v1.2.3-70-g09d2