aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-11-05 10:59:59 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-12-02 08:54:35 +0200
commit07e327c9c18b382656bf455051759be8182627ae (patch)
tree2f9988c87a01df6cd231a598160b334634247e0f /include
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')
-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 fd5a96c5ecc..eaeca89de15 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -423,8 +423,7 @@ struct omap_overlay_manager {
const char *name;
enum omap_channel id;
enum omap_overlay_manager_caps caps;
- int num_overlays;
- struct omap_overlay **overlays;
+ struct list_head overlays;
enum omap_display_type supported_displays;
/* dynamic fields */