OMAPDSS: DISPC: add dispc_ovl_check()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 19 Oct 2012 12:57:11 +0000 (15:57 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 7 Dec 2012 15:05:57 +0000 (17:05 +0200)
commitf9b719b6c25c0609c528ccc1e881b42373ba1ba3
tree706a7c27872576d05d9befd9daa84d4ebcc9a624
parent96e2e6374385d2219b9011f6bfd0de7221a591d4
OMAPDSS: DISPC: add dispc_ovl_check()

This patch adds a new function, dispc_ovl_check(), which can be used to
verify scaling configuration for an overlay. The function gets both the
overlay and overlay manager as parameters, so that the caller does not
need to configure the hardware before using this function.

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