Bug 79285 - [SNB/IVB/BDW]igt/kms_flip subcases vblank-vs-hang and vblank-vs-hang-interruptible fail
Summary: [SNB/IVB/BDW]igt/kms_flip subcases vblank-vs-hang and vblank-vs-hang-interrup...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Ville Syrjala
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-27 02:47 UTC by Guo Jinxian
Modified: 2017-10-06 14:38 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (114.79 KB, text/plain)
2014-05-27 02:47 UTC, Guo Jinxian
no flags Details
dmesg (119.44 KB, text/plain)
2014-05-30 01:31 UTC, Guo Jinxian
no flags Details

Description Guo Jinxian 2014-05-27 02:47:30 UTC
Created attachment 99909 [details]
dmesg

==System Environment==
--------------------------
Regression: No. 
These cases always fail

Non-working platforms: IVB BDW

==kernel==
--------------------------
origin/drm-intel-nightly: c37f30ddc2921eccbf0be87c7742b56fbde53a81(fails)
    drm-intel-nightly: 2014y-05m-23d-13h-57m-55s integration manifest
origin/drm-intel-next-queued: f83d6518a13020e3cf7abbcc6b4e6d34459d9a9f(fails)
    ddrm/i915: Kill private_default_ctx off    
origin/drm-intel-fixes: c1240bd2842f6ec26d7dc1d9c845a197a41d33fe(skips)
    drm/i915: Prevent negative relocation deltas from wrapping

==Bug detailed description==
-----------------------------
igt/kms_flip subcases vblank-vs-hang and vblank-vs-hang-interruptible fail

Output:
./kms_flip --run-subtest vblank-vs-hang
IGT-Version: 1.6-gff3c122 (x86_64) (Linux: 3.15.0-rc3_drm-intel-next-queued_f83d65_20140526+ x86_64)
Using monotonic timestamps
Beginning vblank-vs-hang on crtc 5, connector 14
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
........................Test assertion failure function wait_for_events, file kms_flip.c:1164:
Last errno: 0, Success
Failed assertion: ret > 0
select timed out or error (ret 0)
Subtest vblank-vs-hang: FAIL

==Reproduce steps==
---------------------------- 
1.  ./kms_flip --run-subtest vblank-vs-hang
Comment 1 Guo Jinxian 2014-05-27 02:48:25 UTC
update:
origin/drm-intel-fixes: c1240bd2842f6ec26d7dc1d9c845a197a41d33fe(fails)
    drm/i915: Prevent negative relocation deltas from wrapping
Comment 2 Ben Widawsky 2014-05-28 19:09:41 UTC
Please test 
http://patchwork.freedesktop.org/patch/26649/
Comment 3 Guo Jinxian 2014-05-30 01:31:57 UTC
Created attachment 100127 [details]
dmesg

(In reply to comment #2)
> Please test 
> http://patchwork.freedesktop.org/patch/26649/

Test still failed with the patch.
Output:
./kms_flip --run-subtest vblank-vs-hang
IGT-Version: 1.6-g532b7e6 (x86_64) (Linux: 3.15.0-rc3_prts_0258fc_20140530 x86_64)
Using monotonic timestamps
Beginning vblank-vs-hang on crtc 5, connector 14
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
.............................................................
vblank-vs-hang on crtc 5, connector 14: PASSED

Beginning vblank-vs-hang on crtc 8, connector 14
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
Test assertion failure function wait_for_events, file kms_flip.c:1168:
Last errno: 0, Success
Failed assertion: ret > 0
select timed out or error (ret 0)
Subtest vblank-vs-hang: FAIL
Comment 4 Guo Jinxian 2014-08-05 07:56:10 UTC
Test still failed on latest -nightly(8980a4380b606860ba0165ed0156a64e79109677) on SNB

[root@x-sgb4 tests]# ./kms_flip --run-subtest vblank-vs-dpms-rpm-interruptible
IGT-Version: 1.7-gac31f19 (i686) (Linux: 3.16.0-rc6_drm-intel-nightly_8980a4_20140805+ i686)
Using monotonic timestamps
Beginning vblank-vs-dpms-rpm-interruptible on crtc 7, connector 13
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500
..Test assertion failure function run_test_step, file kms_flip.c:951:
Failed assertion: igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED)
Last errno: 4, Interrupted system call
Subtest vblank-vs-dpms-rpm-interruptible: FAIL
Comment 5 Jani Nikula 2014-09-08 10:17:35 UTC
Please try current nightly.
Comment 6 yaoming 2014-09-09 06:44:18 UTC
(In reply to comment #5)
> Please try current nightly.

Passed on latest drm-intel-nightly(4a3d32734bdcef6813b31f06a58430436e98711e).
 
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_flip --run-subtest vblank-vs-hang
IGT-Version: 1.7-gac3d060 (x86_64) (Linux: 3.17.0-rc4_drm-intel-nightly_4a3d32_20140909+ x86_64)
Using monotonic timestamps
Beginning vblank-vs-hang on crtc 8, connector 19
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
...............................
vblank-vs-hang on crtc 8, connector 19: PASSED

Beginning vblank-vs-hang on crtc 12, connector 19
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
...............................
vblank-vs-hang on crtc 12, connector 19: PASSED

Beginning vblank-vs-hang on crtc 16, connector 19
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
...............................
vblank-vs-hang on crtc 16, connector 19: PASSED

Beginning vblank-vs-hang on crtc 8, connector 28
  3840x2160 30 3840 3888 3920 4000 2160 2163 2168 2191 0x9 0x48 262750
...............
vblank-vs-hang on crtc 8, connector 28: PASSED

Beginning vblank-vs-hang on crtc 12, connector 28
  1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x40 65000
...............................
vblank-vs-hang on crtc 12, connector 28: PASSED

Beginning vblank-vs-hang on crtc 16, connector 28
  3840x2160 30 3840 3888 3920 4000 2160 2163 2168 2191 0x9 0x48 262750
...............
vblank-vs-hang on crtc 16, connector 28: PASSED

Subtest vblank-vs-hang: SUCCESS (36.062s)
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# uname -a
Linux x-bdw05 3.17.0-rc4_drm-intel-nightly_4a3d32_20140909+ #2276 SMP Tue Sep 9 11:32:56 CST 2014 x86_64 x86_64 x86_64 GNU/Linux
Comment 7 Jani Nikula 2014-09-09 07:52:48 UTC
Presumed fixed by the vblank rework branch.
Comment 8 Guo Jinxian 2014-09-10 09:08:27 UTC
Verified.
Comment 9 Elizabeth 2017-10-06 14:38:01 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.