diff options
author | Archit Taneja <archit@ti.com> | 2012-09-07 08:14:51 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-09-26 07:58:31 -0400 |
commit | 794bc4eefa10fbc80e6ad29de1bc42424efde608 (patch) | |
tree | a9823eb2eae3a2cafed62fedf96db07b45d99e33 /include/video | |
parent | 97f01b3a2ed6d46132bf4e2d237c27846e7b260a (diff) |
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 d8fd1c85fc8..fd8f8be449d 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h | |||
@@ -435,6 +435,8 @@ struct omap_overlay { | |||
435 | struct omap_overlay_info *info); | 435 | struct omap_overlay_info *info); |
436 | 436 | ||
437 | int (*wait_for_go)(struct omap_overlay *ovl); | 437 | int (*wait_for_go)(struct omap_overlay *ovl); |
438 | |||
439 | struct omap_dss_device *(*get_device)(struct omap_overlay *ovl); | ||
438 | }; | 440 | }; |
439 | 441 | ||
440 | struct omap_overlay_manager_info { | 442 | struct omap_overlay_manager_info { |
@@ -491,6 +493,8 @@ struct omap_overlay_manager { | |||
491 | int (*apply)(struct omap_overlay_manager *mgr); | 493 | int (*apply)(struct omap_overlay_manager *mgr); |
492 | int (*wait_for_go)(struct omap_overlay_manager *mgr); | 494 | int (*wait_for_go)(struct omap_overlay_manager *mgr); |
493 | int (*wait_for_vsync)(struct omap_overlay_manager *mgr); | 495 | int (*wait_for_vsync)(struct omap_overlay_manager *mgr); |
496 | |||
497 | struct omap_dss_device *(*get_device)(struct omap_overlay_manager *mgr); | ||
494 | }; | 498 | }; |
495 | 499 | ||
496 | /* 22 pins means 1 clk lane and 10 data lanes */ | 500 | /* 22 pins means 1 clk lane and 10 data lanes */ |