<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [BSW]S3 causes "WARNING: CPU: 1 PID: 4478 at drivers/gpu/drm/i915/i915_drv.c:1185 vlv_force_gfx_clock+0x41/0x1eb [i915]()""
href="https://bugs.freedesktop.org/show_bug.cgi?id=87086#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [BSW]S3 causes "WARNING: CPU: 1 PID: 4478 at drivers/gpu/drm/i915/i915_drv.c:1185 vlv_force_gfx_clock+0x41/0x1eb [i915]()""
href="https://bugs.freedesktop.org/show_bug.cgi?id=87086">bug 87086</a>
from <span class="vcard"><a class="email" href="mailto:hengx.ding@intel.com" title="Ding Heng <hengx.ding@intel.com>"> <span class="fn">Ding Heng</span></a>
</span></b>
<pre>(In reply to Deepak S from <a href="show_bug.cgi?id=87086#c6">comment #6</a>)
<span class="quote">> Can you try this patch?
> <a href="http://lists.freedesktop.org/archives/intel-gfx/2015-February/060790.html">http://lists.freedesktop.org/archives/intel-gfx/2015-February/060790.html</a>
>
> I will try and confirm if we need vlv_force_gfx_clock or not for chv</span >
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@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",</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>