]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa4726eb08b3628d5559ab38d6045da5cf8855d3
tree61e933b8f50ec5225e91fe2bf6bbfbb11a26c1af
parent9ca415823cc7979578401c8c4f67a3e789f324f7
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