Commit dde499d3 authored by Committed by Greg Kroah-Hartman
drm/fb_helper: Disable all crtc's when initial setup fails.
commit 52dd0650 upstream. 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") 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.comSigned-off-by: Greg Kroah-Hartman <firstname.lastname@example.org>
Showing with 4 additions and 0 deletions