]> git.openfabrics.org - ~emulex/infiniband.git/commit
OMAPDSS: store overlays in a list for each manager
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Sat, 5 Nov 2011 08:59:59 +0000 (10:59 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 2 Dec 2011 06:54:35 +0000 (08:54 +0200)
commit07e327c9c18b382656bf455051759be8182627ae
tree2f9988c87a01df6cd231a598160b334634247e0f
parent5617ad097959cb39b96d08af0a9b3d51215deaba
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>
drivers/video/omap2/dss/apply.c
drivers/video/omap2/dss/manager.c
drivers/video/omap2/dss/overlay.c
include/video/omapdss.h