<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - resume from S3 slightly broken since kernel 3.10"
href="https://bugs.freedesktop.org/show_bug.cgi?id=77768#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - resume from S3 slightly broken since kernel 3.10"
href="https://bugs.freedesktop.org/show_bug.cgi?id=77768">bug 77768</a>
from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
<pre>Try:
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 3225d51..e8fdc79 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -2777,7 +2777,7 @@ sna_output_init(ScrnInfoPtr scrn, struct sna_mode *mode,
int num)
/* stash the active CRTC id for our probe function */
output->crtc = NULL;
- if (compat_conn.conn.connection == DRM_MODE_CONNECTED)
+ if (compat_conn.conn.connection != DRM_MODE_DISCONNECTED)
output->crtc = (void *)(uintptr_t)enc.crtc_id;</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 on the CC list for the bug.</li>
</ul>
</body>
</html>