On Fri, Nov 22, 2019 at 04:54:56PM -0800, José Roberto de Souza wrote: > Disabling pipe/transcoder clock before power down sink could cause > sink lost signal, causing it to trigger a hotplug to notify source > that link signal was lost. > > Cc: Lucas De Marchi <lucas.demarchi@xxxxxxxxx> > Signed-off-by: José Roberto de Souza <jose.souza@xxxxxxxxx> > --- > drivers/gpu/drm/i915/display/intel_ddi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/display/intel_ddi.c b/drivers/gpu/drm/i915/display/intel_ddi.c > index d2f0d393d3ee..7d3a6e3c7f57 100644 > --- a/drivers/gpu/drm/i915/display/intel_ddi.c > +++ b/drivers/gpu/drm/i915/display/intel_ddi.c > @@ -3808,12 +3808,12 @@ static void intel_ddi_post_disable_dp(struct intel_encoder *encoder, > enum phy phy = intel_port_to_phy(dev_priv, encoder->port); > > if (!is_mst) { > - intel_ddi_disable_pipe_clock(old_crtc_state); > /* > * Power down sink before disabling the port, otherwise we end > * up getting interrupts from the sink on detecting link loss. > */ > intel_dp_sink_dpms(intel_dp, DRM_MODE_DPMS_OFF); > + intel_ddi_disable_pipe_clock(old_crtc_state); > } The spec seems to say that we should do this after turning off DDI_BUF_CTL on tgl+. > > intel_disable_ddi_buf(encoder, old_crtc_state); > -- > 2.24.0 > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/intel-gfx -- Ville Syrjälä Intel _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx