aboutsummaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-11-05 04:59:59 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-12-02 01:54:35 -0500
commit07e327c9c18b382656bf455051759be8182627ae (patch)
tree2f9988c87a01df6cd231a598160b334634247e0f /include/video
parent5617ad097959cb39b96d08af0a9b3d51215deaba (diff)
OMAPDSS: store overlays in a list for each manager
Current way of handling overlay-manager links is a bit strange: each manager has a static array, containing pointers to all the overlays (even those used by other managers). The overlays contain a pointer to the manager being used. This patch makes the system a bit saner: each manager has a linked list of overlays, and only the overlays linked to that manager are in the list. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/omapdss.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index fd5a96c5ecc5..eaeca89de152 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -423,8 +423,7 @@ struct omap_overlay_manager {
423 const char *name; 423 const char *name;
424 enum omap_channel id; 424 enum omap_channel id;
425 enum omap_overlay_manager_caps caps; 425 enum omap_overlay_manager_caps caps;
426 int num_overlays; 426 struct list_head overlays;
427 struct omap_overlay **overlays;
428 enum omap_display_type supported_displays; 427 enum omap_display_type supported_displays;
429 428
430 /* dynamic fields */ 429 /* dynamic fields */