<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - GPU hang on HSW Celeron when doing 16 VA-API decodes and compositing"
href="https://bugs.freedesktop.org/show_bug.cgi?id=85327#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - GPU hang on HSW Celeron when doing 16 VA-API decodes and compositing"
href="https://bugs.freedesktop.org/show_bug.cgi?id=85327">bug 85327</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>On second thoughts, the symptom is slightly different, but it is still dying
inside a context restore, but on a different command MEDIA_VFE_STATE instead of
3DSTATE_VF.
Try:
diff --git a/drivers/gpu/drm/i915/i915_gem_context.c
b/drivers/gpu/drm/i915/i915
index 670edfd..4f4de1c 100644
--- a/drivers/gpu/drm/i915/i915_gem_context.c
+++ b/drivers/gpu/drm/i915/i915_gem_context.c
@@ -507,6 +507,10 @@ mi_set_context(struct i915_gem_request *rq,
if (IS_GEN6(rq->i915))
rq->pending_flush |= I915_INVALIDATE_CACHES;
+ ret = i915_request_emit_flush(rq, I915_COMMAND_BARRIER);
+ if (ret)
+ return ret;
+
len = 3;
switch (INTEL_INFO(rq->i915)->gen) {
case 8:</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>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>