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 <firstname.lastname@example.org> Fixes: ca91a275 ("drm/fb-helper: Support deferred setup") Cc: <email@example.com> # v4.14+ Reported-by: Thomas Voegtle <firstname.lastname@example.org> Tested-by: Thomas Voegtle <email@example.com> Reviewed-by: Daniel Vetter <firstname.lastname@example.org> Link: https://email@example.com
Showing with 4 additions and 0 deletions