OMAPDSS: add helpers to get mgr or output from display
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 23 Apr 2013 12:35:35 +0000 (15:35 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 17 Jun 2013 11:00:42 +0000 (14:00 +0300)
commitbe8e8e1c62678765868c0bc7b8b5209c38af105c
tree405e8641bb55bbd9ab0b82f304961bb1a19474d7
parente724366498ead17579686f7ad83235f911a9c4f7
OMAPDSS: add helpers to get mgr or output from display

Add two helper functions that can be used to find either the DSS output
or the overlay manager that is connected to the given display.

This hides how the output and the manager are actually connected, making
it easier to change the connections in the future.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_drv.c
drivers/video/omap2/dss/manager-sysfs.c
drivers/video/omap2/dss/output.c
drivers/video/omap2/omapfb/omapfb-ioctl.c
drivers/video/omap2/omapfb/omapfb-main.c
include/video/omapdss.h