diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-10-24 06:52:40 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-12-07 10:05:59 -0500 |
commit | a97a96347598201ae39b5aee67638dae2cebe454 (patch) | |
tree | 1f5787049a9a7b474ce9f937ced021cde975c0ef /include/video | |
parent | d13f5b7d98eebe59112ca3d92763000c306872e4 (diff) |
OMAPDSS: export dss_mgr_ops functions
Export dss_mgr_ops related functions.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/omapdss.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h index 823a07b00fe..d1bf3bc54db 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h | |||
@@ -55,6 +55,7 @@ | |||
55 | 55 | ||
56 | struct omap_dss_device; | 56 | struct omap_dss_device; |
57 | struct omap_overlay_manager; | 57 | struct omap_overlay_manager; |
58 | struct dss_lcd_mgr_config; | ||
58 | struct snd_aes_iec958; | 59 | struct snd_aes_iec958; |
59 | struct snd_cea_861_aud_if; | 60 | struct snd_cea_861_aud_if; |
60 | 61 | ||
@@ -835,4 +836,32 @@ void omapdss_rfbi_set_interface_timings(struct omap_dss_device *dssdev, | |||
835 | int omapdss_compat_init(void); | 836 | int omapdss_compat_init(void); |
836 | void omapdss_compat_uninit(void); | 837 | void omapdss_compat_uninit(void); |
837 | 838 | ||
839 | struct dss_mgr_ops { | ||
840 | void (*start_update)(struct omap_overlay_manager *mgr); | ||
841 | int (*enable)(struct omap_overlay_manager *mgr); | ||
842 | void (*disable)(struct omap_overlay_manager *mgr); | ||
843 | void (*set_timings)(struct omap_overlay_manager *mgr, | ||
844 | const struct omap_video_timings *timings); | ||
845 | void (*set_lcd_config)(struct omap_overlay_manager *mgr, | ||
846 | const struct dss_lcd_mgr_config *config); | ||
847 | int (*register_framedone_handler)(struct omap_overlay_manager *mgr, | ||
848 | void (*handler)(void *), void *data); | ||
849 | void (*unregister_framedone_handler)(struct omap_overlay_manager *mgr, | ||
850 | void (*handler)(void *), void *data); | ||
851 | }; | ||
852 | |||
853 | int dss_install_mgr_ops(const struct dss_mgr_ops *mgr_ops); | ||
854 | void dss_uninstall_mgr_ops(void); | ||
855 | |||
856 | void dss_mgr_set_timings(struct omap_overlay_manager *mgr, | ||
857 | const struct omap_video_timings *timings); | ||
858 | void dss_mgr_set_lcd_config(struct omap_overlay_manager *mgr, | ||
859 | const struct dss_lcd_mgr_config *config); | ||
860 | int dss_mgr_enable(struct omap_overlay_manager *mgr); | ||
861 | void dss_mgr_disable(struct omap_overlay_manager *mgr); | ||
862 | void dss_mgr_start_update(struct omap_overlay_manager *mgr); | ||
863 | int dss_mgr_register_framedone_handler(struct omap_overlay_manager *mgr, | ||
864 | void (*handler)(void *), void *data); | ||
865 | void dss_mgr_unregister_framedone_handler(struct omap_overlay_manager *mgr, | ||
866 | void (*handler)(void *), void *data); | ||
838 | #endif | 867 | #endif |