• Rob Clark's avatar
    drm/radeon: only init fbdev if we have connectors · f95429ec
    Rob Clark authored
    This fixes an issue that was noticed on an optimus/prime laptop with
    a kernel that was old enough to not support the integrated intel gfx
    (which was driving all the outputs), but did have support for the
    discrete radeon gpu.  The end result was not falling back to VESA and
    leaving the user with a black screen.
    
    (Plus it is kind of silly to create an framebuffer device if there
    are no outputs hooked up to the gpu.)
    Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    f95429ec
radeon_display.c 61.3 KB