]> git.baikalelectronics.ru Git - kernel.git/commit
drm/fb_helper: move deferred fb checking into restore mode (v2)
authorDave Airlie <airlied@redhat.com>
Wed, 26 Nov 2014 03:15:24 +0000 (13:15 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 8 Dec 2014 23:56:45 +0000 (09:56 +1000)
commit44601eef619c345fe572b1d513dcbfa40ec5784f
treeed7ba4d60fc1a8c1111430bc29ea4110adef682b
parent2446f835affddd5d665bf25fb3f5ab2e6c75e640
drm/fb_helper: move deferred fb checking into restore mode (v2)

On MST systems the monitors don't appear when we set the fb up,
but plymouth opens the drm device and holds it open while they
come up, when plymouth finishes and lastclose gets called we
don't do the delayed fb probe, so the monitor never appears on the
console.

Fix this by moving the delayed checking into the mode restore.

v2: Daniel suggested that ->delayed_hotplug is set under
the mode_config mutex, so we should check it under that as
well, while we are in the area.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_fb_helper.c