<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - [CI] igt-core-WARNING: [cmd] rtcwake: [cmd] write error - rtcwake failed with 1"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103375#c43">Comment # 43</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - [CI] igt-core-WARNING: [cmd] rtcwake: [cmd] write error - rtcwake failed with 1"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103375">bug 103375</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>(In reply to Chris Wilson from <a href="show_bug.cgi?id=103375#c41">comment #41</a>)
<span class="quote">> (In reply to Marta Löfstedt from <a href="show_bug.cgi?id=103375#c36">comment #36</a>)
> > <a href="https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3336/shard-apl8/">https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3336/shard-apl8/</a>
> > igt@<a href="mailto:gem_eio@in-flight-suspend.html">gem_eio@in-flight-suspend.html</a>
> > <a href="https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3337/shard-kbl4/">https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3337/shard-kbl4/</a>
> > igt@<a href="mailto:gem_eio@in-flight-suspend.html">gem_eio@in-flight-suspend.html</a>
> > <a href="https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3338/shard-glkb1/">https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3338/shard-glkb1/</a>
> > igt@<a href="mailto:gem_eio@in-flight-suspend.html">gem_eio@in-flight-suspend.html</a>

> For in-flight-suspend the issue is that whilst waiting for the GPU hang, the
> rtc timer fires for us to resume -- cancelling dpm_suspend() and it returns
> with EBUSY.</span >

commit 476c4b462e0453c70ee81664c0227fdddc26cbd0 (upstream/master,
origin/master,
 origin/HEAD)
Author: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
Date:   Thu Nov 30 15:00:51 2017 +0000

    igt/gem_eio: Increase wakeup delay for in-flight-suspend

    For in-flight-suspend, we need to wait for the GPU hang within
    i915_gem_suspend(). This will take 10-20s, which means that the standard
    wakeup delay of around 15s may occur before we complete the suspend.
    This causes a pm_system_wakeup(), causing dpm_suspend() to return
    -EBUSY.

    Signed-off-by: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
    Reviewed-by: Mika Kuoppala <<a href="mailto:mika.kuoppala@linux.intel.com">mika.kuoppala@linux.intel.com</a>></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>