Bug 105270 - [CI] igt@gem_ctx_isolation@rcs0-reset - Failed assertion: num_errors == 0
Summary: [CI] igt@gem_ctx_isolation@rcs0-reset - Failed assertion: num_errors == 0
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-02-27 13:01 UTC by Martin Peres
Modified: 2018-04-20 11:07 UTC (History)
1 user (show)

See Also:
i915 platform: HSW, KBL
i915 features: GEM/Other


Attachments

Description Martin Peres 2018-02-27 13:01:59 UTC
(gem_ctx_isolation:8795) WARNING: Register 0x7000 (Cache_Mode_0): A=00006804 B=00006800
(gem_ctx_isolation:8795) WARNING: Register 0x7004 (Cache_Mode_1): A=00000180 B=000001c0
(gem_ctx_isolation:8795) CRITICAL: Test assertion failure function compare_regs, file gem_ctx_isolation.c:441:
(gem_ctx_isolation:8795) CRITICAL: Failed assertion: num_errors == 0
(gem_ctx_isolation:8795) CRITICAL: 2 registers mistached between dirty deadbeef context

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3831/shard-hsw3/igt@gem_ctx_isolation@rcs0-reset.html
Comment 1 Chris Wilson 2018-03-27 21:51:57 UTC
commit 0a393229479d61829a2f8671c1a46f533c76b385 (HEAD, upstream/master)
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Mar 27 14:44:30 2018 +0100

    igt/gem_ctx_isolation: Reset a scratch context
    
    If we inject a reset into the target context, there is a risk that the
    register state is never saved back to memory. The exact interaction
    between reset, the context image and the precise timing of our execution
    are not well defined. Since we cannot ensure that the context image
    remains valid, force a context switch prior to the reset.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105270
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105457
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105545
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
    Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Comment 2 Jani Saarinen 2018-04-20 11:07:26 UTC
Closing, please re-open if still occurs.


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.