<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Intel driver crashes when undocking Lenovo T450s"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94250#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Intel driver crashes when undocking Lenovo T450s"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94250">bug 94250</a>
              from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
        <pre>(In reply to cs_gon from <a href="show_bug.cgi?id=94250#c7">comment #7</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=121918" name="attach_121918" title="Xorg.0.log.1">attachment 121918</a> <a href="attachment.cgi?id=121918&action=edit" title="Xorg.0.log.1">[details]</a></span>
> Xorg.0.log.1

> Xorg log for assertion

> (EE) sna_dri2_event_free:1663 assertion '!info->signal' failed</span >

That is not a huge issue, just a bit of debug code needs cancelling along the
error path.

(In reply to cs_gon from <a href="show_bug.cgi?id=94250#c10">comment #10</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=121921" name="attach_121921" title="stack_trace2.txt">attachment 121921</a> <a href="attachment.cgi?id=121921&action=edit" title="stack_trace2.txt">[details]</a></span>
> stack_trace2.txt

> stack trace for assertion

> (EE) sna_dri2_schedule_flip:3078 assertion 'info->front == front' failed</span >

This is actually more of an issue. This should reduce the assert

commit 3593a2d18928f74ee470f824dc34b8b5b148ce2d
Author: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
Date:   Tue Feb 23 14:36:10 2016 +0000

    sna/dri2: Reset front pointer on frame event across a modeset

    If the root window's pixmap is changed (e.g. to resizing the
    framebuffer) then an outstanding flip becomes invalid. The invalid flip
    is marked as having a stale front, and that triggers an assertion if the
    user then tries to schedule flip before the pending flip event is
    processed.

    References: <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - U+2053 SWUNG DASH should be wider than U+007E TILDE"
   href="show_bug.cgi?id=9425">https://bugs.freedesktop.org/show_bug.cgi?id=9425</a>
    Signed-off-by: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>

but it is still a little bit of a puzzle how we did not drain the event queue
first. That's probably explained by

commit 4cd43faa646e368624079b73b216f6546ede5c16
Author: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
Date:   Tue Feb 23 14:40:39 2016 +0000

    sna: Flush the DRM event queue after a modeset

    Changing the mode will cause the DRM events(pageflips, vblanks) to
    be completed and the queue flushed. After applying the CRTC, drain the
    event queue.

    Signed-off-by: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>></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>