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
Taking the bug since I added the test. It will get fixed when my drm vblank race fix series lands.
Also this should fail on all platforms, not just pnv ... Can you please check results from other machines again?
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
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.
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
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
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 ***
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.
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.