drm: qxl: Let DRM core handle connector registering
authorGabriel Krisman Bertazi <krisman@collabora.co.uk>
Thu, 12 Jan 2017 16:16:08 +0000 (14:16 -0200)
committerGustavo Padovan <gustavo.padovan@collabora.com>
Tue, 17 Jan 2017 11:43:50 +0000 (09:43 -0200)
commit8e945cba255f41d2413e3208d480588c2420c657
tree438829de5f6d2f0ef2141ca32f69d1de6360cded
parent5b06ba2378e177fdb8f100adda6e55b205308202
drm: qxl: Let DRM core handle connector registering

Registering the connector explicitly right after creation is not
necessary for modesetting drivers, because drm_dev_register already takes
care of this on the core side, by calling drm_modeset_register_all.

In addition, performing the initialization too early will get in the way
of the load() hook removal, because the connector interface cannot be
published prior to registering the minors.

Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk>
CC: Dave Airlie <airlied@redhat.com>
CC: Daniel Vetter <daniel.vetter@ffwll.ch>
CC: dri-devel@lists.freedesktop.org
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170112161610.19924-1-krisman@collabora.co.uk
drivers/gpu/drm/qxl/qxl_display.c