aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2013-04-24 06:32:51 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-06-17 07:00:57 -0400
commit5d47dbc85228de3ce82dea11af3c169e66cbf520 (patch)
tree8cbfd00544f0d8e1be37f69bb1ccdef0252d3007 /include
parent595470a7853848cb971d5ee3fed443b1e3aa0d1b (diff)
OMAPDSS: public omapdss_register_output()
In order to allow multiple display block in a video pipeline, we need to give the drivers way to register themselves. For now we have the omapdss_register_display() which is used to register panels, and dss_register_output() which is used to register DSS encoders. This patch makes dss_register_output() public (with the name of omapdss_register_output), which can be used to register also external encoders. The distinction between register_output and register_display is that a "display" is an entity at the end of the videopipeline, and "output" is something inside the pipeline. The registration and naming will be made saner in the future, but the current names and functions are kept to minimize changes during the dss device model transition. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/video/omapdss.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index ef9db241b4a1..cca912a5f32e 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -780,6 +780,8 @@ struct omap_overlay_manager *omap_dss_get_overlay_manager(int num);
780int omap_dss_get_num_overlays(void); 780int omap_dss_get_num_overlays(void);
781struct omap_overlay *omap_dss_get_overlay(int num); 781struct omap_overlay *omap_dss_get_overlay(int num);
782 782
783int omapdss_register_output(struct omap_dss_device *output);
784void omapdss_unregister_output(struct omap_dss_device *output);
783struct omap_dss_device *omap_dss_get_output(enum omap_dss_output_id id); 785struct omap_dss_device *omap_dss_get_output(enum omap_dss_output_id id);
784struct omap_dss_device *omap_dss_find_output(const char *name); 786struct omap_dss_device *omap_dss_find_output(const char *name);
785struct omap_dss_device *omap_dss_find_output_by_node(struct device_node *node); 787struct omap_dss_device *omap_dss_find_output_by_node(struct device_node *node);