Bug 75593 - [PNV/IVB]igt/kms_flip/dpms-vs-vblank-race fails
Summary: [PNV/IVB]igt/kms_flip/dpms-vs-vblank-race fails
Status: CLOSED DUPLICATE of bug 77908
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Ville Syrjala
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-28 07:29 UTC by lu hua
Modified: 2017-10-06 14:39 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (78.26 KB, text/plain)
2014-02-28 07:29 UTC, lu hua
no flags Details

Description lu hua 2014-02-28 07:29:41 UTC
Created attachment 94859 [details]
dmesg

System Environment:
--------------------------
Platform: Pineview
Kernel:	(drm-intel-nightly) 1be8f2b4dd6d3db00af24d4891c82d2650bd282d

Bug detailed description:
---------------------------
New case fails on Pineview with -fixes,-queued and -nightly kernel.
Following new cases also fail:
igt/kms_flip/dpms-vs-vblank-race-interruptible	
igt/kms_flip/modeset-vs-vblank-race	
igt/kms_flip/modeset-vs-vblank-race-interruptible	

output:
IGT-Version: 1.5-gfa6b151 (i686) (Linux: 3.14.0-rc3_drm-intel-nightly_513e58_20140228+ i686)
Using monotonic timestamps
Beginning dpms-vs-vblank-race on crtc 4, connector 5
  1024x600 60 1024 1072 1104 1200 600 603 609 625 0xa 0x48 45000
Test assertion failure function run_test_step, file kms_flip.c:922:
Last errno: 22, Invalid argument
Failed assertion: __wait_for_vblank(TEST_VBLANK_BLOCK, o->pipe, 1, 0, &reply) == 0
Subtest dpms-vs-vblank-race: FAIL

Reproduce steps:
-------------------------
1. ./kms_flip --run-subtest dpms-vs-vblank-race
Comment 1 Ville Syrjala 2014-02-28 08:54:07 UTC
Taking the bug since I added the test. It will get fixed when my drm vblank race fix series lands.
Comment 2 Daniel Vetter 2014-03-10 09:19:13 UTC
Also this should fail on all platforms, not just pnv ...

Can you please check results from other machines again?
Comment 3 lu hua 2014-03-11 05:39:04 UTC
It also fails on Ivybridge. It works well on Ironlake, Snadybridge and Broadwell.

output on IVB:
IGT-Version: 1.5-g20087e7 (x86_64) (Linux: 3.14.0-rc5_drm-intel-nightly_32faf6_20140310_debug+ x86_64)
Using monotonic timestamps
Beginning dpms-vs-vblank-race on crtc 3, connector 9
  1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x48 65000
.......
dpms-vs-vblank-race on crtc 3, connector 9: PASSED

Beginning dpms-vs-vblank-race on crtc 5, connector 9
  1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x48 65000
Test assertion failure function run_test_step, file kms_flip.c:922:
Last errno: 22, Invalid argument
Failed assertion: __wait_for_vblank(TEST_VBLANK_BLOCK, o->pipe, 1, 0, &reply) == 0
Subtest dpms-vs-vblank-race: FAIL
Comment 4 Daniel Vetter 2014-03-27 21:00:24 UTC
Can you please double-check the affected platforms?

These new vblank race tests fail here on pretty much all platforms for me. The bug is generic spawning all generations, so if we only see failures on some platforms then the testcase isn't good enough.
Comment 5 lu hua 2014-03-28 03:10:28 UTC
Test on latest igt and nightly kernel.
It fails on PNV,IVB.HSW,BYT. It works well on ILK, SNB,BDW.

output on BYT:
Using monotonic timestamps
Beginning dpms-vs-vblank-race on crtc 3, connector 20
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
Test assertion failure function run_test_step, file kms_flip.c:928:
Last errno: 2, No such file or directory
Failed assertion: end - start > 1 * frame_time(o) / 2 && end - start < 3 * frame_time(o) / 2
Subtest dpms-vs-vblank-race: FAIL
Comment 6 Guo Jinxian 2014-05-19 08:34:24 UTC
This issue is able to reproduce on latest -fixes(e95a2f7509f5219177d6821a0a8754f93892ca56) on BDW

./kms_flip --run-subtest modeset-vs-vblank-race
IGT-Version: 1.6-gd71add5 (x86_64) (Linux: 3.15.0-rc3_drm-intel-fixes_e95a2f_20140519+ x86_64)
Using monotonic timestamps
Beginning modeset-vs-vblank-race on crtc 5, connector 14
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
Test assertion failure function run_test_step, file kms_flip.c:879:
Last errno: 22, Invalid argument
Failed assertion: __wait_for_vblank(TEST_VBLANK_BLOCK, o->pipe, 1, 0, &reply) == 0
Subtest modeset-vs-vblank-race: FAIL
Comment 7 Daniel Vetter 2014-05-19 08:36:33 UTC
Ok, let's make this clear:

3.15 is known to be broken and we won't fix it.

I think I've wontfix closed a few dupes of this alreay ...

*** This bug has been marked as a duplicate of bug 77908 ***
Comment 8 lu hua 2015-01-07 07:14:34 UTC
kms_flip/dpms-vs-vblank-race-interruptible and modeset-vs-vblank-race-interruptible sporadically fail on the latest -nightly kernel. file bug 88136 to track it. Close this bug.
Comment 9 Elizabeth 2017-10-06 14:39:37 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.