OMAPDSS: DISPC: pass pclk & lclk to dispc_ovl_calc_scaling
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 19 Oct 2012 12:46:30 +0000 (15:46 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 27 Nov 2012 10:47:25 +0000 (12:47 +0200)
commit74e164588ec0b0c570f5525d10800f54342833b1
treeb57adee7382272f87af6e8ea28a478fa705f6fb5
parent0c6921de3710465ca35179b6e327e8b67b9ffaf7
OMAPDSS: DISPC: pass pclk & lclk to dispc_ovl_calc_scaling

In order to make the scaling calculations independent of the current
hardware configuration (e.g. which manager is connected to this output),
we need to change the calc funcs to get all the variables needed for the
calculations via parameters.

This patch changes dispc_ovl_calc_scaling to get pclk and lclk as
parameters.

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