Summary: | [CI][DRMTIP] igt@gem_eio@wait-wedge-1us - dmesg-warn - GEM_BUG_ON(!intel_engine_is_idle(engine)) | ||
---|---|---|---|
Product: | DRI | Reporter: | Martin Peres <martin.peres> |
Component: | DRM/Intel | Assignee: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | intel-gfx-bugs |
Version: | XOrg git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | ReadyForDev | ||
i915 platform: | BSW/CHT | i915 features: | GEM/Other |
Description
Martin Peres
2018-10-02 15:48:42 UTC
It looks pretty idle, so why did it freak out? Could do with dumping the engine at that point before the BUG_ON. I am not convinced, but commit 88a83f3c2d7a87ce7c9c4171dec8e2fb48070288 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Thu Oct 4 09:21:19 2018 +0100 drm/i915: Only reset seqno if actually idle Before we can reset the seqno, we have to be sure the engines are idle. In debugfs/i915_drop_caches_set, we do wait_for_idle but allow ourselves to be interrupted. We should only proceed to reset the seqno then if we were not interrupted, and so also avoid overwriting the error status. References: https://bugs.freedesktop.org/show_bug.cgi?id=108133 Fixes: 6b048706f407 ("drm/i915: Forcibly flush unwanted requests in drop-caches") Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20181004082119.24970-1-chris@chris-wilson.co.uk may have an effect. Otherwise this bug is too weird for me. Update: This issue occurred only once with drmtip_119 (4 weeks / 377 runs ago). Not seen there after. (In reply to Chris Wilson from comment #2) > I am not convinced, but > > commit 88a83f3c2d7a87ce7c9c4171dec8e2fb48070288 > Author: Chris Wilson <chris@chris-wilson.co.uk> > Date: Thu Oct 4 09:21:19 2018 +0100 > > drm/i915: Only reset seqno if actually idle > > Before we can reset the seqno, we have to be sure the engines are idle. > In debugfs/i915_drop_caches_set, we do wait_for_idle but allow ourselves > to be interrupted. We should only proceed to reset the seqno then if we > were not interrupted, and so also avoid overwriting the error status. > > References: https://bugs.freedesktop.org/show_bug.cgi?id=108133 > Fixes: 6b048706f407 ("drm/i915: Forcibly flush unwanted requests in > drop-caches") > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> > Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> > Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> > Link: > https://patchwork.freedesktop.org/patch/msgid/20181004082119.24970-1- > chris@chris-wilson.co.uk > > may have an effect. Otherwise this bug is too weird for me. It's been a month, and it is a drmtip run. Let's close this bug. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.