• Dave Airlie's avatar
    drm/fb_helper: move deferred fb checking into restore mode (v2) · e2809c7d
    Dave Airlie authored
    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: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    Cc: stable@vger.kernel.org
    Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
    e2809c7d
drm_fb_helper.c 47.6 KB