[Bug 93768] [BAT SKL] GPU death starting with first symptom: WARNING backtrace: "DC6 already programmed to be enabled."

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 19 01:12:09 PST 2016


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

--- Comment #2 from Chris Wilson <chris at chris-wilson.co.uk> ---
diff --git a/drivers/gpu/drm/i915/intel_runtime_pm.c
b/drivers/gpu/drm/i915/inte
index bbca527..a90d4d0 100644
--- a/drivers/gpu/drm/i915/intel_runtime_pm.c
+++ b/drivers/gpu/drm/i915/intel_runtime_pm.c
@@ -497,7 +497,8 @@ static void gen9_set_dc_state(struct drm_i915_private
*dev_p
        val &= ~mask;
        val |= state;
        I915_WRITE(DC_STATE_EN, val);
-       POSTING_READ(DC_STATE_EN);
+       if (wait_for((I915_READ(DC_STATE_EN) & mask) == state, 500))
+               DRM_ERROR("Timeout whilst enabling DC6\n");
 }

 void bxt_enable_dc9(struct drm_i915_private *dev_priv)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the QA Contact 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/20160119/8b9559dc/attachment.html>


More information about the intel-gfx-bugs mailing list