drm/omap: remove use of omapdss_find_mgr_from_display()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 21 Oct 2015 13:17:23 +0000 (16:17 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 3 Mar 2016 15:38:22 +0000 (17:38 +0200)
commit179df15fc54118fc5c949138eeccc24c54f758a1
treee674ef332c6f22b37980ef835041fb6efd7a31fe
parent3a9241386494ed5797e4c7244b944ac312d35515
drm/omap: remove use of omapdss_find_mgr_from_display()

In order to remove uses of 'struct omap_overlay_manager' we need to get
rid of using omapdss_find_mgr_from_display() when initializing omapdrm.

Instead of using omapdss_find_mgr_from_display() and mgr->id to find the
dispc channel used for the given display, we can instead use
omapdss_find_output_from_display(), and get the output->dispc_channel
from there.

We can also remove omapdss_find_mgr_from_display() as it's no longer
used.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/dss/output.c
drivers/gpu/drm/omapdrm/omap_drv.c