[Bug 98564] [drm:skl_set_power_well] *ERROR* power well 2 disable timeout
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Nov 3 17:19:23 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=98564
--- Comment #2 from Imre Deak <imre.deak at intel.com> ---
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) {
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee 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/20161103/a9e24f2a/attachment.html>
More information about the intel-gfx-bugs
mailing list