diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2017-11-28 12:16:03 +0100 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2017-11-29 15:37:31 +0100 |
commit | 52dd06506e9bbc2a37b352df7dfc5468f8da21fd (patch) | |
tree | 1f93399658bbb22874bb0efff6a5c26ec61868e3 /lib/reed_solomon | |
parent | a76dfe350c1fcb466b18595e65b33fa6abf65472 (diff) | |
download | linux-stable-52dd06506e9bbc2a37b352df7dfc5468f8da21fd.tar.gz linux-stable-52dd06506e9bbc2a37b352df7dfc5468f8da21fd.tar.bz2 linux-stable-52dd06506e9bbc2a37b352df7dfc5468f8da21fd.zip |
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 <maarten.lankhorst@linux.intel.com>
Fixes: ca91a2758fce ("drm/fb-helper: Support deferred setup")
Cc: <stable@vger.kernel.org> # v4.14+
Reported-by: Thomas Voegtle <tv@lio96.de>
Tested-by: Thomas Voegtle <tv@lio96.de>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20171128111603.62757-1-maarten.lankhorst@linux.intel.com
Diffstat (limited to 'lib/reed_solomon')
0 files changed, 0 insertions, 0 deletions