<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [BSW BDW] [BAT execlists] Sporadic - gem_exec_suspend basic-s4 GPU hang after resume"
href="https://bugs.freedesktop.org/show_bug.cgi?id=96526#c60">Comment # 60</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [BSW BDW] [BAT execlists] Sporadic - gem_exec_suspend basic-s4 GPU hang after resume"
href="https://bugs.freedesktop.org/show_bug.cgi?id=96526">bug 96526</a>
from <span class="vcard"><a class="email" href="mailto:humberto.i.perez.rodriguez@intel.com" title="Humberto Israel Perez Rodriguez <humberto.i.perez.rodriguez@intel.com>"> <span class="fn">Humberto Israel Perez Rodriguez</span></a>
</span></b>
<pre>(In reply to Humberto Israel Perez Rodriguez from <a href="show_bug.cgi?id=96526#c59">comment #59</a>)
<span class="quote">> (In reply to Chris Wilson from <a href="show_bug.cgi?id=96526#c58">comment #58</a>)
> > commit bafb2f7d4755bf1571bd5e9a03b97f3fc4fe69ae
> > Author: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
> > Date: Wed Sep 21 14:51:08 2016 +0100
> >
> > drm/i915/execlists: Reset RING registers upon resume
> >
> > There is a disparity in the context image saved to disk and our own
> > bookkeeping - that is we presume the RING_HEAD and RING_TAIL match our
> > stored ce->ring->tail value. However, as we emit WA_TAIL_DWORDS into the
> > ring but may not tell the GPU about them, the GPU may be lagging behind
> > our bookkeeping. Upon hibernation we do not save stolen pages, presuming
> > that their contents are volatile. This means that although we start
> > writing into the ring at tail, the GPU starts executing from its HEAD
> > and there may be some garbage in between and so the GPU promptly hangs
> > upon resume.
> >
> > Testcase: igt/gem_exec_suspend/basic-S4
> > Bugzilla: <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [BSW BDW] [BAT execlists] Sporadic - gem_exec_suspend basic-s4 GPU hang after resume"
href="show_bug.cgi?id=96526">https://bugs.freedesktop.org/show_bug.cgi?id=96526</a>
> > Signed-off-by: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
> > Reviewed-by: Joonas Lahtinen <<a href="mailto:joonas.lahtinen@linux.intel.com">joonas.lahtinen@linux.intel.com</a>>
> > Link:
> > <a href="http://patchwork.freedesktop.org/patch/msgid/20160921135108.29574-3">http://patchwork.freedesktop.org/patch/msgid/20160921135108.29574-3</a>-
> > <a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>
>
>
> with this commit and the following configuration on BXT this test pass :
>
> gem_exec_suspend basic-s4
>
> Component : drm
> tag : libdrm-2.4.70-15-gabfa680
> commit : abfa680
>
> Component : cairo
> tag : 1.15.2-58-gb207a93
> commit : b207a93
>
> Component : intel-gpu-tools
> tag : intel-gpu-tools-1.16-36-gd16318a
> commit : d16318a
>
>
>
> Hardware information
> ============================================
> Platform : BXT-P
> Motherboard model : Broxton P
> Motherboard type : NOTEBOOK Hand Held
> Motherboard manufacturer : Intel Corp.
> CPU family : Other
> CPU information : 06/5c
> GPU Card : Intel Corporation Device 5a84 (rev 0a)
> (prog-if 00 [VGA controller])
> Memory ram : 16 GB
> Maximum memory ram allowed : 16 GB
> CPU thread : 4
> CPU core : 4</span >
with the same gfx stack configuration and the same kernel this test pass as
well in BDW platform :
Hardware information
============================================
Platform : BDW
Motherboard type : NUC5i5RYB Desktop
CPU family : Core i5
CPU information : Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz
GPU Card : Intel Corporation Broadwell-U Integrated
Graphics (rev 09) (prog-if 00 [VGA controller])
Memory ram : 8 GB
Maximum memory ram allowed : 16 GB
CPU thread : 4
CPU core : 2
Socket : Socket BGA1168
Signature : Type 0, Family 6, Model 61, Stepping 4</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>