<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [Intel GM45][i915-kms]: VGA encoder on SDVOB remains blank when i915.ko is loaded while gfx is in text mode."
href="https://bugs.freedesktop.org/show_bug.cgi?id=63031#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [Intel GM45][i915-kms]: VGA encoder on SDVOB remains blank when i915.ko is loaded while gfx is in text mode."
href="https://bugs.freedesktop.org/show_bug.cgi?id=63031">bug 63031</a>
from <span class="vcard"><a class="email" href="mailto:daniel@ffwll.ch" title="Daniel Vetter <daniel@ffwll.ch>"> <span class="fn">Daniel Vetter</span></a>
</span></b>
<pre>Ooops, there seems to be a bug in my santize_encoder function. Does the below
snippet help?
diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index 8e6f906..9a525e5 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -9074,7 +9074,7 @@ static void intel_sanitize_encoder(struct intel_encoder
*encoder)
/* Connector is active, but has no active pipe. This is
* fallout from our resume register restoring. Disable
* the encoder manually again. */
- if (encoder->base.crtc) {
+ if (!encoder->base.crtc) {
DRM_DEBUG_KMS("[ENCODER:%d:%s] manually disabled\n",
encoder->base.base.id,
drm_get_encoder_name(&encoder->base));</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>