<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#c8">Comment # 8</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:Knut_Petersen@t-online.de" title="Knut Petersen <Knut_Petersen@t-online.de>"> <span class="fn">Knut Petersen</span></a>
</span></b>
        <pre>That patch masks the bug. But it still is a _kernel_ bug and not a bug of the
xorg driver code. Wouldn't it be a better idea to fix the root cause?

I wonder if only my special hardware is affected. I assume that this is not the
case ...

(In reply to <a href="show_bug.cgi?id=77768#c7">comment #7</a>)
<span class="quote">> 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;</span ></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>