Bug 107259 - [CI][SHARDS] igt@gem_exec_schedule@preempt-hang-* - dmesg-fail - Failed assertion: ptr[0] == n + 1
Summary: [CI][SHARDS] igt@gem_exec_schedule@preempt-hang-* - dmesg-fail - Failed asser...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-17 09:04 UTC by Martin Peres
Modified: 2018-08-07 08:03 UTC (History)
1 user (show)

See Also:
i915 platform: BXT, CFL, GLK, KBL, SKL
i915 features: GEM/Other


Attachments

Description Martin Peres 2018-07-17 09:04:05 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_4489/shard-apl2/igt@gem_exec_schedule@preempt-hang-bsd.html

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_4489/shard-glk3/igt@gem_exec_schedule@preempt-hang-vebox.html

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_4489/shard-kbl2/igt@gem_exec_schedule@preempt-hang-vebox.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_86/fi-bxt-dsi/igt@gem_exec_schedule@preempt-hang-render.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_86/fi-bxt-j4205/igt@gem_exec_schedule@preempt-hang-render.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_86/fi-cfl-8109u/igt@gem_exec_schedule@preempt-hang-bsd1.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_86/fi-cfl-8700k/igt@gem_exec_schedule@preempt-hang-render.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_86/fi-cfl-s3/igt@gem_exec_schedule@preempt-hang-render.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_86/fi-glk-dsi/igt@gem_exec_schedule@preempt-hang-render.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_86/fi-glk-j4005/igt@gem_exec_schedule@preempt-hang-render.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_86/fi-kbl-7500u/igt@gem_exec_schedule@preempt-hang-render.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_86/fi-kbl-7567u/igt@gem_exec_schedule@preempt-hang-bsd1.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_86/fi-kbl-8809g/igt@gem_exec_schedule@preempt-hang-vebox.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_86/fi-kbl-r/igt@gem_exec_schedule@preempt-hang-render.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_86/fi-kbl-x1275/igt@gem_exec_schedule@preempt-hang-vebox.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_86/fi-skl-6260u/igt@gem_exec_schedule@preempt-hang-bsd1.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_86/fi-skl-6700k2/igt@gem_exec_schedule@preempt-hang-bsd.html

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_86/fi-whl-u/igt@gem_exec_schedule@preempt-hang-render.html

(gem_exec_schedule:2013) CRITICAL: Test assertion failure function preempt, file ../tests/gem_exec_schedule.c:442:
(gem_exec_schedule:2013) CRITICAL: Failed assertion: ptr[0] == n + 1
(gem_exec_schedule:2013) CRITICAL: error: 0 != 0x1
Subtest preempt-hang-render failed.

[  238.694900] i915 0000:00:02.0: Resetting rcs0 for no progress on rcs0
[  286.687945] i915 0000:00:02.0: GPU recovery timed out, cancelling all in-flight rendering.
Comment 1 Chris Wilson 2018-07-17 09:06:32 UTC
commit 0051163ab3d8090a08ea2ea5edbb738c0920000a
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Jul 16 13:54:24 2018 +0100

    drm/i915/execlists: Always clear preempt status on cancelling all
    
    On reset/wedging, we cancel all pending replies from the HW and we also
    want to cancel an outstanding preemption event. Since we use the same
    function to cancel the pending replies for reset and for a preemption
    event, we can simply clear the active tracking for all.
    
    v2: Keep execlists_user_end() markup for wedging
    v3: Move assignment to inline to hide the bare assignment.
    
    Fixes: 60a943245413 ("drm/i915/execlists: Drop clear_gtiir() on GPU reset")
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20180716125424.5715-1-chris@chris-wilson.co.uk
Comment 2 Francesco Balestrieri 2018-08-04 09:20:23 UTC
Martin, OK to close?
Comment 3 Francesco Balestrieri 2018-08-07 08:03:38 UTC
Not seen for almost three weeks, closing.


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.