aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorTomasz Figa <[email protected]>2016-06-21 13:27:34 +0900
committerDaniel Vetter <[email protected]>2016-06-21 10:52:58 +0200
commit9127f99c4801f323ffbb3b755259f3a679f66c7c (patch)
tree60df493b2d714ac81a6cb0cf81e593f33f4e2489 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent41719d581a1e5ba8f4c5d0fc9181c3cd5bef5019 (diff)
drm/rockchip: Finish initialization before registering DRM device
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 drm_dev_register() did not use to do anything special before, but recently it started to call drm_connector_register_all(), which leads to a crash if the driver is not fully initialized. This patch fixes the problem by moving the call to drm_dev_register() to the end of the initialization sequence and also removing the, now unnecessary, call to drm_connector_register_all() from driver code. Fixes: f706974a69b6 ("drm/rockchip: Drop drm_driver.load/unload callbacks") Signed-off-by: Tomasz Figa <[email protected]> [danvet: Fix up cleanup labels a bit.] Signed-off-by: Daniel Vetter <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions