<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED --- - [dual-gpu regression] Display shuts off when switching to discrete graphics card"
href="https://bugs.freedesktop.org/show_bug.cgi?id=59785#c21">Comment # 21</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED --- - [dual-gpu regression] Display shuts off when switching to discrete graphics card"
href="https://bugs.freedesktop.org/show_bug.cgi?id=59785">bug 59785</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>Here is the reference david Mallon should have given
regards
# 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>