[Bug 83677] [HSW] GPU hang on ctx load

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 10 07:52:59 PDT 2014


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

--- Comment #48 from Simon Farnsworth <simon at farnz.org.uk> ---
(In reply to Chris Wilson from comment #47)
> 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;

Applied the moral equivalent of that change to 3.16.3, and I see failure. I'll
attach the error state.

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


More information about the intel-gfx-bugs mailing list