[PATCH] drm/rockchip: Finish initialization before registering DRM device

2016-06-21 Thread Tomasz Figa
Currently the driver calls drm_dev_register() directly after allocating the DRM device and then continues with further initialization. This is incorrect, because drm_dev_register() is supposed to be called after all initialization is done. This problem was masked by the fact that

[PATCH] drm/rockchip: Finish initialization before registering DRM device

2016-06-21 Thread Daniel Vetter
On Tue, Jun 21, 2016 at 01:27:34PM +0900, Tomasz Figa wrote: > Currently the driver calls drm_dev_register() directly after allocating > the DRM device and then continues with further initialization. This is > incorrect, because drm_dev_register() is supposed to be called after all >