OMAPDSS: APPLY: Remove display dependency from overlay and manager checks
authorArchit Taneja <archit@ti.com>
Thu, 26 Apr 2012 19:52:28 +0000 (01:22 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 9 May 2012 10:44:07 +0000 (13:44 +0300)
commit228b21349db4ca5636ec1efdb3b3d54fe18092de
tree61e933b8f50ec5225e91fe2bf6bbfbb11a26c1af
parent5dd747e8892a63a5d4cc1d2765c0f533a5d74cfd
OMAPDSS: APPLY: Remove display dependency from overlay and manager checks

In order to check the validity of overlay and manager info, there was a need to
use the omap_dss_device struct to get the panel resolution. The manager's
private data in APPLY now contains the manager timings. Hence, we don't need to
rely on the display resolution any more.

Pass the manager's timings in private data to dss_mgr_check(). Remove the need
to pass omap_dss_device structs in the functions which check for the validity
of overlay and manager parameters.

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