<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [drm:skl_set_power_well] *ERROR* power well 2 disable timeout"
href="https://bugs.freedesktop.org/show_bug.cgi?id=98564#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [drm:skl_set_power_well] *ERROR* power well 2 disable timeout"
href="https://bugs.freedesktop.org/show_bug.cgi?id=98564">bug 98564</a>
from <span class="vcard"><a class="email" href="mailto:imre.deak@intel.com" title="Imre Deak <imre.deak@intel.com>"> <span class="fn">Imre Deak</span></a>
</span></b>
<pre>We seem to clear all request bits so not sure what keeps PW#2 up. Is there any
KVM related option in your BIOS setup, could you try with disabling it if so?
Also could you give a try to the following to increase the timeout and get some
debug info?:
diff --git a/drivers/gpu/drm/i915/intel_runtime_pm.c
b/drivers/gpu/drm/i915/intel_runtime_pm.c
index 0599408..9c7b841 100644
--- a/drivers/gpu/drm/i915/intel_runtime_pm.c
+++ b/drivers/gpu/drm/i915/intel_runtime_pm.c
@@ -764,9 +764,15 @@ static void skl_set_power_well(struct drm_i915_private
*dev_priv,
}
if (wait_for(!!(I915_READ(HSW_PWR_WELL_DRIVER) & state_mask) == enable,
- 1))
- DRM_ERROR("%s %s timeout\n",
- power_well->name, enable ? "enable" : "disable");
+ 10))
+ DRM_ERROR("%s %s timeout (%08x %08x %08x %08x %08x %08x)\n",
+ power_well->name, enable ? "enable" : "disable",
+ I915_READ(HSW_PWR_WELL_BIOS),
+ I915_READ(HSW_PWR_WELL_DRIVER),
+ I915_READ(HSW_PWR_WELL_KVMR),
+ I915_READ(HSW_PWR_WELL_DEBUG),
+ I915_READ(HSW_PWR_WELL_CTL5),
+ I915_READ(HSW_PWR_WELL_CTL6));
if (check_fuse_status) {
if (power_well->id == SKL_DISP_PW_1) {</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>