<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [BXT DP-MST] System hang/crash when plugging in USB typeC DP MST monitor"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99572#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [BXT DP-MST] System hang/crash when plugging in USB typeC DP MST monitor"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99572">bug 99572</a>
              from <span class="vcard"><a class="email" href="mailto:nathan.d.ciobanu@linux.intel.com" title="nathan.d.ciobanu@linux.intel.com">nathan.d.ciobanu@linux.intel.com</a>
</span></b>
        <pre>I added the following check to make sure I trigger a stack trace otherwise the
system would reboot without giving me the crash log:

@@ -1862,6 +1863,10 @@ bool bxt_ddi_dp_set_dpll_hw_state(int clock,
        memset(&crtc_state->dpll_hw_state, 0,
               sizeof(crtc_state->dpll_hw_state));

+       if (!memcmp(&zeroes, &dpll_hw_state,
+              sizeof(crtc_state->dpll_hw_state)))
+           BUG();
+
        crtc_state->dpll_hw_state = dpll_hw_state;

        if (encoder->type == INTEL_OUTPUT_DP_MST) {</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 on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>