<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [HSW] GPU hang on ctx load"
href="https://bugs.freedesktop.org/show_bug.cgi?id=83677#c48">Comment # 48</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [HSW] GPU hang on ctx load"
href="https://bugs.freedesktop.org/show_bug.cgi?id=83677">bug 83677</a>
from <span class="vcard"><a class="email" href="mailto:simon@farnz.org.uk" title="Simon Farnsworth <simon@farnz.org.uk>"> <span class="fn">Simon Farnsworth</span></a>
</span></b>
<pre>(In reply to Chris Wilson from <a href="show_bug.cgi?id=83677#c47">comment #47</a>)
<span class="quote">> Small, but it forces the invalidate after the ctx load:
>
> diff --git a/drivers/gpu/drm/i915/i915_gem_execbuffer.c
> b/drivers/gpu/drm/i915/i915_gem_execbuffer.c
> index 1a0611bb576b..9676bc729f13 100644
> --- a/drivers/gpu/drm/i915/i915_gem_execbuffer.c
> +++ b/drivers/gpu/drm/i915/i915_gem_execbuffer.c
> @@ -1082,11 +1082,11 @@ i915_gem_ringbuffer_submission(struct drm_device
> *dev, struct drm_file *file,
> }
> }
>
> - ret = i915_gem_execbuffer_move_to_gpu(ring, vmas);
> + ret = i915_switch_context(ring, ctx);
> if (ret)
> goto error;
>
> - ret = i915_switch_context(ring, ctx);
> + ret = i915_gem_execbuffer_move_to_gpu(ring, vmas);
> if (ret)
> goto error;</span >
Applied the moral equivalent of that change to 3.16.3, and I see failure. I'll
attach the error state.</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>