Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/fb_helper: Disable all crtc's when initial setup fails.
commit 52dd065 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 protected]> Fixes: ca91a27 ("drm/fb-helper: Support deferred setup") Reported-by: Thomas Voegtle <[email protected]> Tested-by: Thomas Voegtle <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information