drm/omap: Pass both output and display omap_dss_device to connector init
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 31 May 2018 20:14:43 +0000 (23:14 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 3 Sep 2018 13:13:29 +0000 (16:13 +0300)
commit47a3ee27934a7a774be4aa1733c662f33e1ae656
tree285cb957ea78eee57aabea31458e4cdbcb640bcf
parent7805d1e5098c1a90e5feb153809b16ba890b03e4
drm/omap: Pass both output and display omap_dss_device to connector init

The drm_connector implementation requires access to the omap_dss_device
corresponding to the display, which is passed to its initialization
function and stored internally. Refactoring of the timings operations
will require access to the output omap_dss_device. To prepare for that,
pass it to the connector initialization function and store it internally
as well.

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>
drivers/gpu/drm/omapdrm/omap_connector.c
drivers/gpu/drm/omapdrm/omap_connector.h
drivers/gpu/drm/omapdrm/omap_drv.c