Bug 94869 - [BAT BSW] gem_ctx_param_basic/non-root-set-no-zeromap causes *ERROR* gpu hanging too fast
Summary: [BAT BSW] gem_ctx_param_basic/non-root-set-no-zeromap causes *ERROR* gpu hang...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: x86-64 (AMD64) Linux (All)
: highest normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-08 10:48 UTC by Tim Gore
Modified: 2017-07-24 22:42 UTC (History)
1 user (show)

See Also:
i915 platform: BSW/CHT
i915 features: GPU hang


Attachments

Description Tim Gore 2016-04-08 10:48:14 UTC
During BAT testing of a patch targeting gen9 only, several tests, of which gem_ctx_param_basic/non-root-set-no-zeromap is one, cause "*ERROR* gpu hanging too fast" in dmesg log on the bsw-nuc2 target, although the test reports success.
This has also been seen in CI_DRM_1199 and CI_DRM_1175. Maybe related to bug 89633.

Patch being tested is https://patchwork.freedesktop.org/series/5367/
This introduces a workaround in gen9_init_workarounds, which is also
conditional on
 (IS_SKL_REVID(dev, SKL_REVID_C0, REVID_FOREVER) || IS_BROXTON(dev))
So this patch should not be able to affect a BSW target.

Regression build. CI_DRM_1200

================================================================
Stdout	
IGT-Version: 1.14-gfd7fef6 (x86_64) (Linux: 4.6.0-rc2-gfxbench+ x86_64)
Subtest non-root-set-no-zeromap: SUCCESS (0.012s)
Stderr	
Environment	
PIGLIT_SOURCE_DIR="/opt/igt/piglit" PIGLIT_PLATFORM="mixed_glx_egl"
Command	/opt/igt/tests/gem_ctx_param_basic --run-subtest non-root-set-no-zeromap
dmesg	
[  577.819668] [drm:i915_set_reset_status [i915]] *ERROR* gpu hanging too fast, banning!
[  577.824606] drm/i915: Resetting chip after gpu hang
[  583.813212] [drm:i915_set_reset_status [i915]] *ERROR* gpu hanging too fast, banning!
[  583.817731] drm/i915: Resetting chip after gpu hang
Comment 1 Mika Kuoppala 2016-04-19 13:20:00 UTC
Should be fixed by,

commit a5e485a95c9c4cdd93b4c6dc53eee3bd1e50de11
Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
Date:   Wed Apr 13 21:19:51 2016 +0300

    drm/i915: Clear VLV_IER around irq processing


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.