• Dave Airlie's avatar
    modesetting: add dynamic connector hotplug support (MST) (v3) · 9257b125
    Dave Airlie authored
    This is ported from the same code in the ati and intel drivers,
    
    It uses the same option name as nvidia and the other DDXes to
    disable tearing down outputs as it is hard to avoid racing with clients.
    
    v2: address two issues with DeleteUnusedDP12 enabled, reported
    by Daniel Martin,
    a) check we have a mode_output before destroying it
    b) only delete *unused* displays (thanks Aaron for clarifying)
    so we check if the output has a crtc and if it does we don't
    delete it.
    
    v3: drop the option to delete unused displays, just encode
    behaviour into the randr spec.
    Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
    9257b125
drmmode_display.c 58.5 KB