Bug 73866 - [SNB/IVB/HSW Bisected]igt/gem_storedw_batches_loop/normal fails
Summary: [SNB/IVB/HSW Bisected]igt/gem_storedw_batches_loop/normal fails
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: high major
Assignee: Ben Widawsky
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-21 08:11 UTC by lu hua
Modified: 2017-10-06 14:40 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (83.21 KB, text/plain)
2014-01-21 08:11 UTC, lu hua
no flags Details

Description lu hua 2014-01-21 08:11:46 UTC
Created attachment 92507 [details]
dmesg

System Environment:
--------------------------
Platform: Sandybridge/Ivybridge/Haswell/
kernel: (drm-intel-nightly)53cda67197a01358c9c1455f70dd89852a1d7c7a

Bug detailed description:
---------------------------
It fails on Sandybridge/Ivybridge/Haswell/ with -queued, -fixes and -nightly kernel.
igt/gem_storedw_batches_loop/secure-dispatch also fails by same commit.

Bisect shows: 1552aa21124cabe762862bb414490510415a2b2d is the first bad commit
commit 1552aa21124cabe762862bb414490510415a2b2d
Author: Ben Widawsky <benjamin.widawsky@intel.com>
Date:   Mon Jan 13 06:28:45 2014 -0800

    gem_storedw_batches_loop: Fix for BDW

    Existing code was trying to be too clever and wasn't properly emitting
    the high dword, or the correct length.

    Signed-off-by: Ben Widawsky <ben@bwidawsk.net>

output:
IGT-Version: 1.5-g03d144d (i686) (Linux: 3.13.0-rc8_drm-intel-nightly_53cda6_20140121+ i686)
running storedw loop with stall every 1 batch
Test assertion failure function store_dword_loop, file gem_storedw_batches_loop.c:116:
Last errno: 2, No such file or directory
Failed assertion: buf[0] == (0x42000000 | val)
value mismatch: cur 0x00000000, stored 0x42000000
Subtest normal: FAIL


Reproduce steps:
-------------------------
1. ./gem_storedw_batches_loop --run-subtest normal
Comment 1 Ben Widawsky 2014-01-22 02:05:19 UTC
Should be fixed with an igt fix 1bbb607d9f3ee8e725a784f740937577f153a520
Comment 2 lu hua 2014-01-22 02:53:38 UTC
(In reply to comment #1)
> Should be fixed with an igt fix 1bbb607d9f3ee8e725a784f740937577f153a520

gem_storedw_batches_loop/normal works well.
gem_storedw_batches_loop/secure-dispatch still fails.

run ./gem_storedw_batches_loop --run-subtest secure-dispatch
output:
IGT-Version: 1.5-g1bbb607 (x86_64) (Linux: 3.13.0-rc7_drm-intel-fixes_09f234_20140121+ x86_64)
running storedw loop with stall every 1 batch
Test assertion failure function store_dword_loop, file gem_storedw_batches_loop.c:105:
Last errno: 1, Operation not permitted
Failed assertion: drm_intel_bo_mrb_exec(cmd_bo, j * 4, NULL, 0, 0, I915_EXEC_BLT | (flags & SECURE_DISPATCH ? LOCAL_I915_EXEC_SECURE : 0)) == 0
Subtest secure-dispatch: FAIL
Comment 3 Ben Widawsky 2014-01-22 16:52:12 UTC
Please file a new bug for secure dispatch. It is a different problem.
Comment 4 lu hua 2014-01-24 07:18:40 UTC
Test on latest -nightly kernel and latest igt.
Both subcases normal and secure-dispatch work well. Close it.
Comment 5 Elizabeth 2017-10-06 14:40:14 UTC
Closing old verified.


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.