drm/fb_helper: Disable all crtc's when initial setup fails.
Some drivers like i915 start with crtc's enabled, but with deferred fbcon setup they were no longer disabled as part of fbdev setup. Headless units could no longer enter pc3 state because the crtc was still enabled. Fix this by calling restore_fbdev_mode when we would have called it otherwise once during initial fbdev setup. Signed-off-by: Maarten Lankhorst <email@example.com> Fixes: ca91a275 ("drm/fb-helper: Support deferred setup") Cc: <firstname.lastname@example.org> # v4.14+ Reported-by: Thomas Voegtle <email@example.com> Tested-by: Thomas Voegtle <firstname.lastname@example.org> Reviewed-by: Daniel Vetter <email@example.com> Link: https://firstname.lastname@example.org
Showing with 4 additions and 0 deletions