]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: DISPC: Reduce the number of arguments in dispc_ovl_setup()
authorArchit Taneja <archit@ti.com>
Wed, 14 Sep 2011 05:40:10 +0000 (11:10 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 30 Sep 2011 13:17:24 +0000 (16:17 +0300)
commitb6e49b3abbe5606c5328f5d1791848d675ad54e8
treebdc5072fb8083f0e0738531f4350d5336de0a1e2
parentc9efc2e98b73e142a381155665bf51054dbf79cf
OMAPDSS: DISPC: Reduce the number of arguments in dispc_ovl_setup()

dispc_ovl_setup() currently takes a large number of overlay arguments, most of
these are members of the overlay_info struct. Replace these arguments by
passing a overlay_info pointer instead.

In configure_overlay(), we create an overlay_info struct called new_oi, this is
a copy of the overlay cache's overlay_info member. Update the new_oi parameters
which could have been possibly changed in configure_overlay(). Pass its pointer
pointer to dispc_ovl_setup().

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