aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dss.h
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2012-04-26 15:37:28 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-05-09 06:44:07 -0400
commitb917fa3961448903f4ee823917194bdf20709fbd (patch)
treef243fc3c8b20b1ea50071e96081e437a99890098 /drivers/video/omap2/dss/dss.h
parent4172116385ede7abcfbbcc6eb6b7133385695001 (diff)
OMAPDSS: MANAGER: Create a function to check manager timings
Create a function dss_mgr_check_timings() which wraps around the function dispc_mgr_timings_ok(). This is mainly a clean up to hide dispc functions from interface drivers. dss_mgr_check_timings() is added in the function dss_mgr_check(), it currently takes the timings maintained in the omap_dss_device struct. This would be later replaced by the timings stored in the manager's private data. Make dss_mgr_check_timings() and dispc_mgr_timings_ok() take a const omap_video_timings pointer since these functions just check the timings. Signed-off-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dss.h')
-rw-r--r--drivers/video/omap2/dss/dss.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/video/omap2/dss/dss.h b/drivers/video/omap2/dss/dss.h
index b17a2120dc25..a13b3055a447 100644
--- a/drivers/video/omap2/dss/dss.h
+++ b/drivers/video/omap2/dss/dss.h
@@ -208,6 +208,8 @@ int dss_init_overlay_managers(struct platform_device *pdev);
208void dss_uninit_overlay_managers(struct platform_device *pdev); 208void dss_uninit_overlay_managers(struct platform_device *pdev);
209int dss_mgr_simple_check(struct omap_overlay_manager *mgr, 209int dss_mgr_simple_check(struct omap_overlay_manager *mgr,
210 const struct omap_overlay_manager_info *info); 210 const struct omap_overlay_manager_info *info);
211int dss_mgr_check_timings(struct omap_overlay_manager *mgr,
212 const struct omap_video_timings *timings);
211int dss_mgr_check(struct omap_overlay_manager *mgr, 213int dss_mgr_check(struct omap_overlay_manager *mgr,
212 struct omap_dss_device *dssdev, 214 struct omap_dss_device *dssdev,
213 struct omap_overlay_manager_info *info, 215 struct omap_overlay_manager_info *info,
@@ -413,7 +415,7 @@ void dispc_enable_gamma_table(bool enable);
413void dispc_set_loadmode(enum omap_dss_load_mode mode); 415void dispc_set_loadmode(enum omap_dss_load_mode mode);
414 416
415bool dispc_mgr_timings_ok(enum omap_channel channel, 417bool dispc_mgr_timings_ok(enum omap_channel channel,
416 struct omap_video_timings *timings); 418 const struct omap_video_timings *timings);
417unsigned long dispc_fclk_rate(void); 419unsigned long dispc_fclk_rate(void);
418void dispc_find_clk_divs(bool is_tft, unsigned long req_pck, unsigned long fck, 420void dispc_find_clk_divs(bool is_tft, unsigned long req_pck, unsigned long fck,
419 struct dispc_clock_info *cinfo); 421 struct dispc_clock_info *cinfo);