[Bug 102243] [IGT][BDW] spurious dmesg "Switching to FCLK failed" vairous kms_cursor_crc and/or kms_flip tests

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 7 10:53:39 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=102243

--- Comment #14 from Marta Löfstedt <marta.lofstedt at intel.com> ---
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();

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20170907/96fb5b65/attachment.html>


More information about the intel-gfx-bugs mailing list