OMAPDSS: DISPC: Configure input and output sizes for writeback
authorArchit Taneja <archit@ti.com>
Sat, 28 Jul 2012 17:29:03 +0000 (22:59 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 26 Sep 2012 11:58:50 +0000 (14:58 +0300)
commit36d87d95587825c39ee8e127d56aafeb7dda45da
treef47913bf2aa7f71fe3b5e46de2defdc6d8b438fa
parent7a155be39e95fa4bf61bdc4c4456316a52421185
OMAPDSS: DISPC: Configure input and output sizes for writeback

Writeback uses the WB_PICTURE_SIZE register to define the size of the content
written to memory, this is the output of the scaler. It uses the WB_SIZE
register to define the size of the content coming from the overlay/manager to
which it is connected, this is the input to the scaler. This naming is different
as compared to overlays.

Add checks for writeback in dispc_ovl_set_input_size() and
dispc_ovl_set_output_size() to write to the correct registers.

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