]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: APPLY: add updating flag
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 18 Nov 2011 13:43:29 +0000 (15:43 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 2 Dec 2011 06:54:45 +0000 (08:54 +0200)
commit4a6de37d205511dd406dab47edacc45233531f74
treed1baf2768c6a948d18cc9d2cfb8b19ff6e5f96a7
parent4f2badf1af5c4d54bfee47940993d1bafd7d7161
OMAPDSS: APPLY: add updating flag

Add "updating" flag to mgr_priv_data, which is used to track whether the
manager is currently actively working, i.e. updating the screen.

For auto-update displays updating is always true when the display is
enabled, but for manual update displays the flag is true only during
frame transfers.

The flag is used to manage registers properly, for example when updating
is false and a register for a manager is written, there's no need to set
shadow_dirty flag nor set the GO bit, as the settings will be taken into
use by the HW automatically when the output is enabled.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/apply.c