• Dhinakaran Pandiyan's avatar
    drm/i915/mst: Use MST sideband message transactions for dpms control · 5ea2355a
    Dhinakaran Pandiyan authored
    Use the POWER_DOWN_PHY and POWER_UP_PHY sideband message transactions to
    set power states for downstream sinks. Apart from giving us the ability
    to set power state for individual sinks, this fixes the below test for
    me.
    
    $ xrandr --display :0 --output DP-2-2-8 --off
    $ xrandr --display :0 --output DP-2-2-1 --off
    $ xrandr --display :0 --output DP-2-2-8 --auto #Black screen
    $ xrandr --display :0 --output DP-2-2-1 --auto
    
    v2: Modify and document the dpms and port disable order (Ville)
        Add comment explaining is_mst = !crtc_state equivalence(Ville, Maarten)
    
    v3 by Jani: rebase
    
    References: https://bugs.freedesktop.org/show_bug.cgi?id=90963
    References: https://bugs.freedesktop.org/show_bug.cgi?id=88124
    
    
    Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Cc: Lyude <lyude@redhat.com>
    Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
    Reviewed-by: default avatarLyude Paul <lyude@redhat.com>
    Acked-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.c...
    5ea2355a
intel_ddi.c 83.2 KB