]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
OMAPDSS: DISPC: Pass overlay params as arguments to dispc_ovl_setup()
authorArchit Taneja <archit@ti.com>
Wed, 14 Sep 2011 06:22:54 +0000 (11:52 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 30 Sep 2011 13:17:25 +0000 (16:17 +0300)
commitc3d92529c3c2d7b511903d98efc1537081e62eca
treeec5d614c8b03da53feb43fd4112aafa6caa8ab75
parenta4273b7cca6fe7ee3807229ba256adb6cfaba0c3
OMAPDSS: DISPC: Pass overlay params as arguments to dispc_ovl_setup()

dispc_ovl_enable_replication() and dispc_ovl_set_fifo_threshold() are currently
called in configure_overlay(). These are the only functions which cause DISPC
register writes of overlay parameters outside of dispc_ovl_setup().

Move these to dispc_ovl_setup() and pass replication, fifo_low and fifo_high
thresholds as arguments to dispc_ovl_setup() in order to be aligned with other
overlay parameters. No functional changes are made.

Signed-off-by: Archit Taneja <archit@ti.com>
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