<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [snb dp] Screen sometimes remains black after mode change."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=65757">65757</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[snb dp] Screen sometimes remains black after mode change.
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>michalsrb@gmail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=80814" name="attach_80814" title="drm.debug=0xe dmesg of boot and 4 modetest start/stops leading to black screen">attachment 80814</a> <a href="attachment.cgi?id=80814&action=edit" title="drm.debug=0xe dmesg of boot and 4 modetest start/stops leading to black screen">[details]</a></span>
drm.debug=0xe dmesg of boot and 4 modetest start/stops leading to black screen

I have Intel Sandybridge GT1 card (8086:0102) with monitor connected over
display port. Sometimes the monitor stays black after mode change.

It happens no matter what caused the mode change. (Observed when i915 module is
loaded, on start/end of X, on resolution change in X or when using modetest
program from console.) The screen lights up again after few additional mode
changes.

It didn't use to happen - I bisected the causing commit:
  2514bc510d0c3aadcc5204056bb440fa36845147
  drm/i915: prefer wide & slow to fast & narrow in DP configs

  It was using 1 lane before the patch and now it is using 2 lanes.

It is still happening with current drm-intel kernel. When I experimentally
limited the lane count to 1, mode changing worked reliably again.

There is no difference in dmesg (with drm.debug=0xe) or in intel_reg_dumper
output after successful mode change and the one leading to blank screen. The
link training passes successfully on first try in both cases.

There is one suspiciously looking message in dmesg:
  [drm] Wrong MCH_SSKPD value: 0x17050407
  [drm] This can cause pipe underruns and display issues.
  [drm] Please upgrade your BIOS to fix this.

Attached dmesg.txt shows boot to console (X is disabled) and 4 modetest program
start/stops, where the mode change caused by last modetest program stop caused
the black screen. It is annotated with lines starting with "Annotation:".</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>