drm/omap: Pass pipe pointer to omap_crtc_init()

Replace the dss display device pointer by a pipe pointer that will allow
the omap_crtc_init() function to access both the display and the DSS
output. As a result we can remove the omapdss_device_get_dispc_channel()
function that is now unneeded.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
Laurent Pinchart
2018-03-06 23:37:25 +02:00
committed by Tomi Valkeinen
parent 3be0f15bd6
commit 00b30e794f
5 changed files with 8 additions and 15 deletions

View File

@@ -246,15 +246,6 @@ void omapdss_device_disconnect(struct omap_dss_device *src,
}
EXPORT_SYMBOL_GPL(omapdss_device_disconnect);
enum omap_channel omapdss_device_get_dispc_channel(struct omap_dss_device *dssdev)
{
while (dssdev->src)
dssdev = dssdev->src;
return dssdev->dispc_channel;
}
EXPORT_SYMBOL(omapdss_device_get_dispc_channel);
/* -----------------------------------------------------------------------------
* Components Handling
*/