[Bug 85327] GPU hang on HSW Celeron when doing 16 VA-API decodes and compositing

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 22 05:30:00 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=85327

--- Comment #3 from Chris Wilson <chris at chris-wilson.co.uk> ---
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:

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20141022/50b23113/attachment.html>


More information about the intel-gfx-bugs mailing list