]> git.baikalelectronics.ru Git - kernel.git/commit
OMAP: DSS2: Handle manager change in apply
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 16 Aug 2011 09:56:19 +0000 (12:56 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 30 Sep 2011 13:16:19 +0000 (16:16 +0300)
commit373af8ccb80fa9acb0265dc14d3e8fadde4a80f3
treec8d0190c274a9e4d86468936ce3e196746987237
parent1ed70b23e46366055e3a81ec39a4833c893f445e
OMAP: DSS2: Handle manager change in apply

Currently when changing the manager of an overlay, set_manager() directly
calls dispc to set the overlay's destination.

Change this to be more in line with other overlay configurations, and
this will also remove the need to have dispc clocks enabled when calling
set_manager().

A new field is added to overlay struct, "manager_changed". This is
similar to "display_changed" field in manager struct, and is used to
inform apply that the manager has changed and thus write to the
registers is needed.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dispc.c
drivers/video/omap2/dss/dss.h
drivers/video/omap2/dss/manager.c
drivers/video/omap2/dss/overlay.c
include/video/omapdss.h