[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
Wed Sep 6 10:22:40 UTC 2017


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

--- Comment #13 from Marta Löfstedt <marta.lofstedt at intel.com> ---
reproduce 1/10 runs with same list as above with:

+++ b/drivers/gpu/drm/i915/intel_cdclk.c
@@ -665,6 +665,7 @@ static void bdw_set_cdclk(struct drm_i915_private
*dev_priv,
                return;
        }

+       pm_qos_update_request(&dev_priv->pm_qos, 0);
        val = I915_READ(LCPLL_CTL);
        val |= LCPLL_CD_SOURCE_FCLK;
        I915_WRITE(LCPLL_CTL, val);
@@ -672,7 +673,8 @@ static void bdw_set_cdclk(struct drm_i915_private
*dev_priv,
        if (wait_for_us(I915_READ(LCPLL_CTL) &
                        LCPLL_CD_SOURCE_FCLK_DONE, 1))
                DRM_ERROR("Switching to FCLK failed\n");
-
+       pm_qos_update_request(&dev_priv->pm_qos, PM_QOS_DEFAULT_VALUE);

-- 
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/20170906/aa9e0b5b/attachment.html>


More information about the intel-gfx-bugs mailing list