OMAPDSS: APPLY: configure channel_in for writeback
authorArchit Taneja <archit@ti.com>
Fri, 31 Aug 2012 08:38:07 +0000 (14:08 +0530)
committerArchit Taneja <archit@ti.com>
Wed, 7 Nov 2012 14:26:19 +0000 (19:56 +0530)
commit393097ce842d641fb81b16234b87a46943f0af55
tree691b90c59db903920dfe4e25facfc9157999f563
parent3b62efed7a34b581a372775194d6424cb9b8ef4d
OMAPDSS: APPLY: configure channel_in for writeback

writeback's input is configured by the CHANNELIN field in DISPC_WB_ATTRIBUTES.
It's an immediate write register field. We need to change writeback's channel
in whenever the manager to which it is connected changes.

When changing managers for overlays, we needed to be certain that the overlay
was disabled. We added some extra waits for that. However, such a thing isn't
required for writeback as it's disabled for sure after we call dss_wb_disable.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/apply.c
drivers/video/omap2/dss/dss.h
drivers/video/omap2/dss/writeback.c