drm: sti: rework init sequence
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>
Tue, 21 Jun 2016 13:09:40 +0000 (15:09 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 21 Jun 2016 19:32:52 +0000 (21:32 +0200)
commit84601dbdea36634a300c24f93b149a251fc64fed
tree97f72fc3b6df9dbb17705042fb8bf01020afb70d
parent83af0a483ac44594620ecae10a4d708b284972e1
drm: sti: rework init sequence

Use drm_dev_alloc() and drm_dev_register() instead of .load()
To simplify init sequence only create fbdev when requested
in output_poll_changed().

version 2:
remove call to drm_connector_unregister_all() and
drm_dev_set_unique()

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1466514580-15194-4-git-send-email-benjamin.gaignard@linaro.org
drivers/gpu/drm/sti/sti_drv.c
drivers/gpu/drm/sti/sti_drv.h
drivers/gpu/drm/sti/sti_dvo.c
drivers/gpu/drm/sti/sti_hda.c
drivers/gpu/drm/sti/sti_hdmi.c