diff options
author | Archit Taneja <archit@ti.com> | 2012-09-07 17:44:51 +0530 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-09-26 14:58:31 +0300 |
commit | 794bc4eefa10fbc80e6ad29de1bc42424efde608 (patch) | |
tree | a9823eb2eae3a2cafed62fedf96db07b45d99e33 /include/video | |
parent | 97f01b3a2ed6d46132bf4e2d237c27846e7b260a (diff) | |
download | blackbird-op-linux-794bc4eefa10fbc80e6ad29de1bc42424efde608.tar.gz blackbird-op-linux-794bc4eefa10fbc80e6ad29de1bc42424efde608.zip |
OMAPDSS: Remove manager->device references
With the introduction of output entities, managers will now connect to outputs.
Create helper ops for overlays and managers named get_device. This will abstract
away the information on how to get the device from an overlay or an overlay
manager. The get_device ops currently retrieve the output via a
ovl->manager->device reference. This will be later replaced by
ovl->manager->output->device references.
Signed-off-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/omapdss.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h index d8fd1c85fc87..fd8f8be449d7 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h @@ -435,6 +435,8 @@ struct omap_overlay { struct omap_overlay_info *info); int (*wait_for_go)(struct omap_overlay *ovl); + + struct omap_dss_device *(*get_device)(struct omap_overlay *ovl); }; struct omap_overlay_manager_info { @@ -491,6 +493,8 @@ struct omap_overlay_manager { int (*apply)(struct omap_overlay_manager *mgr); int (*wait_for_go)(struct omap_overlay_manager *mgr); int (*wait_for_vsync)(struct omap_overlay_manager *mgr); + + struct omap_dss_device *(*get_device)(struct omap_overlay_manager *mgr); }; /* 22 pins means 1 clk lane and 10 data lanes */ |