Bug 94914

Summary: [BAT SNB] gem_exec_store blt asserts after driver reload (drv_module_reload_basic)
Product: DRI Reporter: Tvrtko Ursulin <tvrtko.ursulin>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: critical    
Priority: highest CC: intel-gfx-bugs
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: SNB i915 features: GEM/execlists

Description Tvrtko Ursulin 2016-04-13 09:42:17 UTC
Looks like this:

Results for igt@drv_module_reload_basic
Overview

Result: fail

Back to summary
Details
Detail 	Value
Returncode 	99
Time 	0:00:00.821593
Stdout 	

Reloading i915.ko with
unbinding /sys/class/vtconsole/vtcon0/: (M) frame buffer device
module successfully unloaded
module successfully loaded again
failed to execute a simple batch after reload

Stderr 	

(gem_exec_store:6557) CRITICAL: Test assertion failure function store_dword, file gem_exec_store.c:93:
(gem_exec_store:6557) CRITICAL: Failed assertion: *batch == 0xc0ffee
(gem_exec_store:6557) CRITICAL: error: 0 != 12648430
Subtest basic-blt failed.
**** DEBUG ****
(gem_exec_store:6557) ioctl-wrappers-DEBUG: Test requirement passed: gem_has_ring(fd, ring)
(gem_exec_store:6557) DEBUG: Test requirement passed: !(gen == 6 && (ring & ~(3<<13)) == I915_EXEC_BSD)
(gem_exec_store:6557) CRITICAL: Test assertion failure function store_dword, file gem_exec_store.c:93:
(gem_exec_store:6557) CRITICAL: Failed assertion: *batch == 0xc0ffee
(gem_exec_store:6557) CRITICAL: error: 0 != 12648430
****  END  ****
(gem_exec_store:6557) CRITICAL: Test assertion failure function store_all, file gem_exec_store.c:204:
(gem_exec_store:6557) CRITICAL: Failed assertion: engines[i] == i
(gem_exec_store:6557) CRITICAL: error: 0xdeadbeef != 0x2
Subtest basic-all failed.
**** DEBUG ****
(gem_exec_store:6557) CRITICAL: Test assertion failure function store_all, file gem_exec_store.c:204:
(gem_exec_store:6557) CRITICAL: Failed assertion: engines[i] == i
(gem_exec_store:6557) CRITICAL: error: 0xdeadbeef != 0x2
****  END  ****

Environment 	

PIGLIT_SOURCE_DIR="/opt/igt/piglit" PIGLIT_PLATFORM="mixed_glx_egl"

Command 	/opt/igt/tests/drv_module_reload_basic
dmesg
Comment 1 Chris Wilson 2016-04-23 22:53:19 UTC
Interesting to note that both tests failed with the blitter. No hang, and breadcrumb write must have succeeded, but an equivalent STORE_DWORD to the user buffer did not. Still suspect TLB or the aliasing PD?, just a pity it didn't hang.
Comment 2 Jari Tahvanainen 2016-08-30 12:09:19 UTC
This failure has not been visible in Patchwork Intel GFX CI Testing during August. I propose this to be closed as Resolved + Worksforme. Please comment if you disagree.
Comment 3 yann 2016-08-31 15:03:26 UTC
I confirmed that this is working on our side also

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.