<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [IGT][BDW] spurious dmesg "Switching to FCLK failed" vairous kms_cursor_crc and/or kms_flip tests"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102243#c14">Comment # 14</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [IGT][BDW] spurious dmesg "Switching to FCLK failed" vairous kms_cursor_crc and/or kms_flip tests"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102243">bug 102243</a>
              from <span class="vcard"><a class="email" href="mailto:marta.lofstedt@intel.com" title="Marta Löfstedt <marta.lofstedt@intel.com>"> <span class="fn">Marta Löfstedt</span></a>
</span></b>
        <pre>Tested this which doesn't work either.

+++ b/drivers/gpu/drm/i915/intel_cdclk.c
@@ -669,10 +669,13 @@ static void bdw_set_cdclk(struct drm_i915_private
*dev_priv,
        val |= LCPLL_CD_SOURCE_FCLK;
        I915_WRITE(LCPLL_CTL, val);

+       preempt_disable();
        if (wait_for_us(I915_READ(LCPLL_CTL) &
                        LCPLL_CD_SOURCE_FCLK_DONE, 1))
                DRM_ERROR("Switching to FCLK failed\n");

+       preempt_enable();</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>