提交 07193f70 编写于 作者: B Ben Skeggs

drm/nouveau/kms: execute drm_mode_config_reset() after constructing display

This will ensure we have some kind of initial atomic state for all objects
after initialisation.
Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 3b4c0abb
......@@ -530,6 +530,8 @@ nouveau_display_create(struct drm_device *dev)
if (ret)
goto disp_create_err;
drm_mode_config_reset(dev);
if (dev->mode_config.num_crtc) {
ret = nouveau_display_vblank_init(dev);
if (ret)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册