<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO --- - rc6 causes system hang once a few days ending with corrupted screen"
href="https://bugs.freedesktop.org/show_bug.cgi?id=60437#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO --- - rc6 causes system hang once a few days ending with corrupted screen"
href="https://bugs.freedesktop.org/show_bug.cgi?id=60437">bug 60437</a>
from <span class="vcard"><a class="email" href="mailto:ben@bwidawsk.net" title="Ben Widawsky <ben@bwidawsk.net>"> <span class="fn">Ben Widawsky</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=60437#c9">comment #9</a>)
<span class="quote">> 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?</span >
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);
}</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 the assignee for the bug.</li>
</ul>
</body>
</html>