]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3f17594945bdc9a19741f18e8ad058ca1ae9eb10
tree580a071b607b1992e110093e6d2ee11ffe6b6f52
parent86565ccb7d5123a79be40b33e7bb5350f7dbad5a
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