<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - When using vgaswitcheroo intel i915 goes to black."
href="https://bugs.freedesktop.org/show_bug.cgi?id=61115#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - When using vgaswitcheroo intel i915 goes to black."
href="https://bugs.freedesktop.org/show_bug.cgi?id=61115">bug 61115</a>
from <span class="vcard"><a class="email" href="mailto:laurent.debian@gmail.com" title="Aximab <laurent.debian@gmail.com>"> <span class="fn">Aximab</span></a>
</span></b>
<pre>For a related bug [55311] <a href="https://bugzilla.kernel.org/show_bug.cgi?id=55311">https://bugzilla.kernel.org/show_bug.cgi?id=55311</a>
It seems to be fixed by the following simple patch which only comment a call to
the " intel_panel_disable_backlight" function ...But I am just a end-user so
you may want to know what developpers think before trying this...
# git diff HEAD drivers/gpu/drm/i915/intel_lvds.c:
--- a/drivers/gpu/drm/i915/intel_lvds.c
+++ b/drivers/gpu/drm/i915/intel_lvds.c
@@ -217,7 +217,7 @@ static void intel_disable_lvds(struct intel_encoder
*encoder)
stat_reg = PP_STATUS;
}
- intel_panel_disable_backlight(dev);
+/* intel_panel_disable_backlight(dev); */
I915_WRITE(ctl_reg, I915_READ(ctl_reg) & ~POWER_TARGET_ON);
if (wait_for((I915_READ(stat_reg) & PP_ON) == 0, 1000))</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>