[Bug 87086] [BSW]S3 causes "WARNING: CPU: 1 PID: 4478 at drivers/gpu/drm/i915/i915_drv.c:1185 vlv_force_gfx_clock+0x41/0x1eb [i915]()"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 2 22:06:26 PST 2015


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

--- Comment #7 from Ding Heng <hengx.ding at intel.com> ---
(In reply to Deepak S from comment #6)
> Can you try this patch?
> http://lists.freedesktop.org/archives/intel-gfx/2015-February/060790.html
> 
> I will try and confirm if we need vlv_force_gfx_clock or not for chv

Since latest kernel commit will cause BSW Fail to boot up, I was trying to
install your patch to commit 0b2a1076c5cb4f383d6a8c940ffab1e27f241097(nightly
branch 2015-02-25, latest available kernel for BSW), but your patch failed to
install, here is the rej file:

[root at glody-pc drm-intel]# cat drivers/gpu/drm/i915/i915_drv.c.rej
--- drivers/gpu/drm/i915/i915_drv.c
+++ drivers/gpu/drm/i915/i915_drv.c
@@ -1193,11 +1193,13 @@
        int err;

        val = I915_READ(VLV_GTLC_SURVIVABILITY_REG);
-       WARN_ON(!!(val & VLV_GFX_CLK_FORCE_ON_BIT) == force_on);

 #define COND (I915_READ(VLV_GTLC_SURVIVABILITY_REG) & VLV_GFX_CLK_STATUS_BIT)
        /* Wait for a previous force-off to settle */
-       if (force_on) {
+       if (force_on && !IS_CHERRYVIEW(dev_priv->dev)) {
+               /* WARN_ON only for the Valleyview */
+               WARN_ON(!!(val & VLV_GFX_CLK_FORCE_ON_BIT) == force_on);
+
                err = wait_for(!COND, 20);
                if (err) {
                        DRM_ERROR("timeout waiting for GFX clock force-off
(%08x)\n",

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


More information about the intel-gfx-bugs mailing list