[Bug 60437] rc6 causes system hang once a few days ending with corrupted screen
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Feb 16 16:09:14 PST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=60437
--- Comment #10 from Ben Widawsky <ben at bwidawsk.net> ---
(In reply to comment #9)
> Applied this patch to 3.8rc6, crashed again.
>
> A very looong shot, but is there any way to bump RC6 voltage to more than
> 450mV?
Yes sure. First you can verify the setting was correct with
cat /sys/kernel/debug/dri/0/i915_drpc_info
Since we're entering into unsafe territory, I'll attach this is a patch, but
inline. Up to you to try it...
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 82b68fe..9126b7f 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -2664,6 +2664,10 @@ static void gen6_enable_rps(struct drm_device *dev)
DRM_ERROR("Couldn't fix incorrect rc6 voltage\n");
}
+#define RC6_VOLTAGE 500
+ rc6vids &= 0xffff00;
+ rc6vids |= GEN6_ENCODE_RC6_VID(RC6_VOLTAGE);
+ BUG_ON(sandybridge_pcode_write(dev_priv, GEN6_PCODE_WRITE_RC6VIDS,
rc6vids));
gen6_gt_force_wake_put(dev_priv);
}
--
You are receiving this mail because:
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/20130217/7a758205/attachment.html>
More information about the intel-gfx-bugs
mailing list