[Bug 107861] [CI][BAT] [byt full-ppgtt] igt at gem_exec* - fail - Failed assertion: !"GPU hung"
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Sep 10 10:39:50 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=107861
--- Comment #4 from Martin Peres <martin.peres at free.fr> ---
(In reply to Chris Wilson from comment #3)
> The hilarity
>
> diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c
> b/drivers/gpu/drm/i915/intel_ringbuffer.c
> index 472939f5c18f..0f4e6b29c800 100644
> --- a/drivers/gpu/drm/i915/intel_ringbuffer.c
> +++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
> @@ -1677,9 +1677,12 @@ static int switch_context(struct i915_request *rq)
> GEM_BUG_ON(HAS_EXECLISTS(rq->i915));
>
> if (ppgtt) {
> + int loops = (engine->id == BCS &&
> IS_VALLEYVIEW(engine->i915)) ? 32 : 1;
> + do {
> ret = load_pd_dir(rq, ppgtt);
> if (ret)
> goto err;
> + } while (--loops);
>
> if (intel_engine_flag(engine) & ppgtt->pd_dirty_rings) {
> unwind_mm = intel_engine_flag(engine);
> @@ -1707,6 +1710,9 @@ static int switch_context(struct i915_request *rq)
>
> is the most effective w/a so far. Pray I don't raise loops further.
Oh my :D
--
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: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20180910/a3f8c287/attachment.html>
More information about the intel-gfx-bugs
mailing list