Commit fc21a4a0 authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/kms: never call drm_helper_disable_unused_functions() with atomic

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent b167db0e
......@@ -535,7 +535,8 @@ nouveau_fbcon_init(struct drm_device *dev)
preferred_bpp = 32;
/* disable all the possible outputs/crtcs before entering KMS mode */
drm_helper_disable_unused_functions(dev);
if (!dev->mode_config.funcs->atomic_commit)
drm_helper_disable_unused_functions(dev);
ret = drm_fb_helper_initial_config(&fbcon->helper, preferred_bpp);
if (ret)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment