Bug 59116

Summary: [PNV/ILK/SNB/IVB]I-G-T gem_seqno_wrap fails
Product: DRI Reporter: lu hua <huax.lu>
Component: DRM/IntelAssignee: Mika Kuoppala <mika.kuoppala>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: yangweix.shui
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg none

Description lu hua 2013-01-08 07:01:20 UTC
System Environment:
--------------------------
Arch:             i386
Platform:         Sandybridge
Libdrm:	(master)libdrm-2.4.40-6-g891517f5111cd82909906d5e8ee0299db0d46762
Mesa:	(master)afec10df373f342f058aab66c622237964a4a147
Xserver:(master)xorg-server-1.13.99.901
Xf86_video_intel:(master)2.20.17-55-gc789d06cf8a0debc67058d7be1483f5b542e2baa Cairo:	(master)a73e7ff0186176bc82cd3ae1432c054c1fd3aebd
Libva:	(staging)2e11d2273b2974a7d1959cbcaf8db5b8e9aedd9e
Libva_intel_driver:(staging)e01e94d312a0b23764367e87958c23bf76e6a782
Kernel:	(drm-intel-nightly) 16a92aa1288f3bd71320e82fae1a34aa45a634ca

Bug detailed description:
-------------------------
It fails on pineview, ironlake, sandybridge with -nightly branch.It works well on haswell and ivybridge with -nightly branch(bug #57967 fixed).
It aborted on pineview, ironlake, sandybridge, ivybridge with -fixes branch.
I can't catch a good commit.

output on -nightly branch:
strtoul: Success
strtoul: Success
strtoul: Success

#echo $?
0

output on -fixes branch:
open: No such file or directory
gem_seqno_wrap: gem_seqno_wrap.c:479: preset_run_once: Assertion `write_seqno(1) == 0' failed.
Aborted (core dumped)

#echo $?
134

Reproduce steps:
----------------------------
1. ./gem_seqno_wrap
Comment 1 lu hua 2013-01-08 07:03:44 UTC
Created attachment 72664 [details]
dmesg
Comment 2 Daniel Vetter 2013-01-08 08:04:24 UTC
Oh, we need to teach this test to SKIP on -fixes, when the required infrastructure isn't available ...
Comment 3 Daniel Vetter 2013-01-08 11:19:31 UTC
commit c612481a196f642ae6a3a67631d7a312e506e1b4
Author: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Date:   Tue Jan 8 13:16:06 2013 +0200

    tests/gem_seqno_wrap: skip if debugfs entry is not there
Comment 4 lu hua 2013-01-11 01:30:19 UTC
Verified. Fixed.
Comment 5 Elizabeth 2017-10-06 14:47: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.