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 <firstname.lastname@example.org> Fixes: ca91a275 ("drm/fb-helper: Support deferred setup") 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.orgSigned-off-by: Greg Kroah-Hartman <email@example.com>
Showing with 4 additions and 0 deletions