drm/i915: Move registration actions to connector->late_register
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 24 Jun 2016 13:00:14 +0000 (14:00 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 24 Jun 2016 13:42:58 +0000 (14:42 +0100)
commit7a418e3448f8c47fb44cc995d7983e735b9774c7
tree580a071b607b1992e110093e6d2ee11ffe6b6f52
parentfda9ee98230cd4799cddaede37ab3051ac7645df
drm/i915: Move registration actions to connector->late_register

With the introduction of a connector->func for callback from
drm_connector_register() we can move all the tasks that we want to do
upon registration into that callback. Later, this will allow us to
reorder the registration and defer it until after the device is setup
and ready for userspace.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1466773227-7994-2-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_dp_mst.c
drivers/gpu/drm/i915/intel_sdvo.c