summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/omap2/dss/dss_features.h
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2015-11-04 17:10:44 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-12-29 11:06:25 +0200
commit20efbc35db42ba8164c42d36ed7ca32cd8184c2c (patch)
tree7ef56747623822804f8bbd90b6c7602bfd74aef8 /drivers/video/fbdev/omap2/dss/dss_features.h
parentbae199cd3d4fde48a103570402d6d30ab7eb959e (diff)
downloadlinux-20efbc35db42ba8164c42d36ed7ca32cd8184c2c.tar.bz2
OMAPDSS: add 'has_writeback' flag
At the moment we have a function to get the number of writeback pipelines supported. However, the function is used in a wrong way, causing a wrong pipeline to get configured when trying to use WB. Also, we only have a single writeback pipeline on any of the DSS versions. To fix and simplify this, create a 'has_writeback' flag into the dispc driver, and after checking the flag, use OMAP_DSS_WB pipeline explicitly when calling the configuration functions. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/fbdev/omap2/dss/dss_features.h')
-rw-r--r--drivers/video/fbdev/omap2/dss/dss_features.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/fbdev/omap2/dss/dss_features.h b/drivers/video/fbdev/omap2/dss/dss_features.h
index 100f7a2d0638..0e75927339c7 100644
--- a/drivers/video/fbdev/omap2/dss/dss_features.h
+++ b/drivers/video/fbdev/omap2/dss/dss_features.h
@@ -86,7 +86,6 @@ enum dss_range_param {
};
/* DSS Feature Functions */
-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_overlay_caps dss_feat_get_overlay_caps(enum omap_plane plane);