drm: Automatically register/unregister all connectors
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 17 Jun 2016 08:25:17 +0000 (09:25 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 17 Jun 2016 12:42:40 +0000 (14:42 +0200)
commite28cd4d0a223e1bcea616326e2281900e7e7e9a2
tree036b8b165befae00673acc42a853ca4c01335422
parentacd8f414c957406c8272cbc380dd50fea945dcf1
drm: Automatically register/unregister all connectors

As the drm_connector is now safe for multiple calls to
register/unregister, automatically perform a registration on all known
connectors drm drv_register (and unregister from drm_drv_unregister).
Drivers can still call drm_connector_register() and
drm_connector_unregister() individually, or defer as required.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1466151923-1572-2-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_drv.c