Skip to content
Commit 028791bb authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau/kms: restore fbcon after display has been resumed



Under some complicated circumstances (boot, suspend, resume, attach
second display, suspend, resume, suspend, detach second display,
resume, suspend, attach second display, resume), the fb_set_suspend()
call can somehow result in a modeset being attempted before we're
ready for it and things blow up in fun ways.

Running display init first fixes the issue.

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 276e526c
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