<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [ilk] pipe off timeout"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=54687#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [ilk] pipe off timeout"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=54687">bug 54687</a>
              from <span class="vcard"><a class="email" href="mailto:daniel@ffwll.ch" title="Daniel Vetter <daniel@ffwll.ch>"> <span class="fn">Daniel Vetter</span></a>
</span></b>
        <pre>Checking the modeset sequence again, we're supposed to disable pch outputs
_after_ having disable the cpu pipe, but before disabling pch transcoder stuff
and the fdi link. I.e.

diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index 82267b2..6b2b8a8 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -3490,9 +3490,6 @@ static void ironlake_crtc_disable(struct drm_crtc *crtc)
        if (!intel_crtc->active)
                return;

-       for_each_encoder_on_crtc(dev, crtc, encoder)
-               encoder->disable(encoder);
-
        intel_crtc_wait_for_pending_flips(crtc);
        drm_vblank_off(dev, pipe);
        intel_crtc_update_cursor(crtc, false);
@@ -3509,6 +3506,9 @@ static void ironlake_crtc_disable(struct drm_crtc *crtc)
        I915_WRITE(PF_WIN_SZ(pipe), 0);

        for_each_encoder_on_crtc(dev, crtc, encoder)
+               encoder->disable(encoder);
+
+       for_each_encoder_on_crtc(dev, crtc, encoder)
                if (encoder->post_disable)
                        encoder->post_disable(encoder);</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>