Bug 110980

Summary: [CI][SHARDS] igt@perf_pmu@busy-double-start-bcs0 - dmesg-warn - Failed to idle engines, declaring wedged!
Product: DRI Reporter: Martin Peres <martin.peres>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: RESOLVED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: high CC: intel-gfx-bugs
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: KBL i915 features: GEM/Other

Description Martin Peres 2019-06-24 10:58:54 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-kbl3/igt@perf_pmu@busy-double-start-bcs0.html

<6> [680.854903] [IGT] perf_pmu: starting subtest busy-double-start-bcs0
<3> [684.059453] i915 0000:00:02.0: Failed to idle engines, declaring wedged!
Comment 1 CI Bug Log 2019-06-24 10:59:32 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* KBL: igt@perf_pmu@busy-double-start-bcs0 - dmesg-warn - Failed to idle engines, declaring wedged!
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-kbl3/igt@perf_pmu@busy-double-start-bcs0.html
Comment 2 Chris Wilson 2019-06-24 11:08:26 UTC
commit 8db7933ee3d442627c716ee49a70fa3aef18640d (HEAD -> drm-intel-next-queued, drm-intel/for-linux-next, drm-intel/drm-intel-next-queued)
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Jun 24 10:20:09 2019 +0100

    drm/i915/execlists: Always clear ring_pause if we do not submit
    
    In the unlikely case (thank you CI!), we may find ourselves wanting to
    issue a preemption but having no runnable requests left. In this case,
    we set the semaphore before computing the preemption and so must unset
    it before forgetting (or else we leave the machine busywaiting until the
    next request comes along and so likely hang).
    
    v2: Replace readback with only a wmb after asserting the semaphore
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
    Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20190624092009.30189-1-chris@chris-wilson.co.uk

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.