diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-11-04 12:14:20 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-12-02 01:54:27 -0500 |
commit | c64dca40c5cf1cc61355411dcfb90949e57afdf0 (patch) | |
tree | 345c78502c37fd0014c84e6c922033824d9fc942 /drivers/video/omap2/dss/dss.h | |
parent | 2cc5d1af5ad0a130fa5812f99bca18e0cdadbd36 (diff) |
OMAPDSS: setup manager with dispc_mgr_setup()
Change manager configuration to be similar to overlay configuration by
creating dispc_mgr_setup() which takes omap_overlay_manager_info as
parameter.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dss.h')
-rw-r--r-- | drivers/video/omap2/dss/dss.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/drivers/video/omap2/dss/dss.h b/drivers/video/omap2/dss/dss.h index 11c72d15ead2..a8022578c603 100644 --- a/drivers/video/omap2/dss/dss.h +++ b/drivers/video/omap2/dss/dss.h | |||
@@ -405,9 +405,6 @@ void dispc_ovl_set_channel_out(enum omap_plane plane, | |||
405 | 405 | ||
406 | void dispc_mgr_enable_fifohandcheck(enum omap_channel channel, bool enable); | 406 | void dispc_mgr_enable_fifohandcheck(enum omap_channel channel, bool enable); |
407 | void dispc_mgr_set_lcd_size(enum omap_channel channel, u16 width, u16 height); | 407 | void dispc_mgr_set_lcd_size(enum omap_channel channel, u16 width, u16 height); |
408 | void dispc_mgr_enable_cpr(enum omap_channel channel, bool enable); | ||
409 | void dispc_mgr_set_cpr_coef(enum omap_channel channel, | ||
410 | struct omap_dss_cpr_coefs *coefs); | ||
411 | bool dispc_mgr_go_busy(enum omap_channel channel); | 408 | bool dispc_mgr_go_busy(enum omap_channel channel); |
412 | void dispc_mgr_go(enum omap_channel channel); | 409 | void dispc_mgr_go(enum omap_channel channel); |
413 | bool dispc_mgr_is_enabled(enum omap_channel channel); | 410 | bool dispc_mgr_is_enabled(enum omap_channel channel); |
@@ -418,16 +415,10 @@ void dispc_mgr_enable_stallmode(enum omap_channel channel, bool enable); | |||
418 | void dispc_mgr_set_tft_data_lines(enum omap_channel channel, u8 data_lines); | 415 | void dispc_mgr_set_tft_data_lines(enum omap_channel channel, u8 data_lines); |
419 | void dispc_mgr_set_lcd_display_type(enum omap_channel channel, | 416 | void dispc_mgr_set_lcd_display_type(enum omap_channel channel, |
420 | enum omap_lcd_display_type type); | 417 | enum omap_lcd_display_type type); |
421 | void dispc_mgr_set_default_color(enum omap_channel channel, u32 color); | ||
422 | u32 dispc_mgr_get_default_color(enum omap_channel channel); | 418 | u32 dispc_mgr_get_default_color(enum omap_channel channel); |
423 | void dispc_mgr_set_trans_key(enum omap_channel ch, | ||
424 | enum omap_dss_trans_key_type type, | ||
425 | u32 trans_key); | ||
426 | void dispc_mgr_get_trans_key(enum omap_channel ch, | 419 | void dispc_mgr_get_trans_key(enum omap_channel ch, |
427 | enum omap_dss_trans_key_type *type, | 420 | enum omap_dss_trans_key_type *type, |
428 | u32 *trans_key); | 421 | u32 *trans_key); |
429 | void dispc_mgr_enable_trans_key(enum omap_channel ch, bool enable); | ||
430 | void dispc_mgr_enable_alpha_fixed_zorder(enum omap_channel ch, bool enable); | ||
431 | bool dispc_mgr_trans_key_enabled(enum omap_channel ch); | 422 | bool dispc_mgr_trans_key_enabled(enum omap_channel ch); |
432 | bool dispc_mgr_alpha_fixed_zorder_enabled(enum omap_channel ch); | 423 | bool dispc_mgr_alpha_fixed_zorder_enabled(enum omap_channel ch); |
433 | void dispc_mgr_set_lcd_timings(enum omap_channel channel, | 424 | void dispc_mgr_set_lcd_timings(enum omap_channel channel, |
@@ -440,6 +431,8 @@ int dispc_mgr_set_clock_div(enum omap_channel channel, | |||
440 | struct dispc_clock_info *cinfo); | 431 | struct dispc_clock_info *cinfo); |
441 | int dispc_mgr_get_clock_div(enum omap_channel channel, | 432 | int dispc_mgr_get_clock_div(enum omap_channel channel, |
442 | struct dispc_clock_info *cinfo); | 433 | struct dispc_clock_info *cinfo); |
434 | void dispc_mgr_setup(enum omap_channel channel, | ||
435 | struct omap_overlay_manager_info *info); | ||
443 | 436 | ||
444 | /* VENC */ | 437 | /* VENC */ |
445 | #ifdef CONFIG_OMAP2_DSS_VENC | 438 | #ifdef CONFIG_OMAP2_DSS_VENC |