Bug 69012 - [Bisected]igt/kms_flip/flip-vs-absolute-wf_vblank fails
Summary: [Bisected]igt/kms_flip/flip-vs-absolute-wf_vblank 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: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-06 03:37 UTC by lu hua
Modified: 2017-10-06 14:43 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (74.31 KB, text/plain)
2013-09-06 03:37 UTC, lu hua
no flags Details

Description lu hua 2013-09-06 03:37:49 UTC
Created attachment 85300 [details]
dmesg

System Environment:
--------------------------
Platform:  PNV/ILK/SNB/IVB/HSW
Kernel:	(drm-intel-nightly) b315fedf01ac717f1c2a5eaa6959335b6baf7150

Bug detailed description:
-----------------------------
It fails on PNV/ILK/SNB/IVB/HSW with -fixes,-queued and -nightly kernel.
Following cases also fail with same bisect commit:
igt/kms_flip/flip-vs-absolute-wf_vblank-interruptible	
igt/kms_flip/flip-vs-modeset-vs-hang-interruptible	
igt/kms_flip/flip-vs-panning-vs-hang	
igt/kms_flip/flip-vs-panning-vs-hang-interruptible	

Bisect shows: 865b7821e37dbca4cc0c2ff6f91236c09e91b26b is the first bad commit.
commit 865b7821e37dbca4cc0c2ff6f91236c09e91b26b
Author:     Chris Wilson <chris@chris-wilson.co.uk>
AuthorDate: Thu Aug 29 16:43:18 2013 +0100
Commit:     Chris Wilson <chris@chris-wilson.co.uk>
CommitDate: Thu Aug 29 17:41:01 2013 +0100

    kms_flip: Hook up primary events for page-flips

    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>


output:
Using monotonic timestamps
Beginning flip-vs-absolute-wf_vblank on crtc 3, connector 7
  1280x1024 60 1280 1328 1440 1688 1024 1025 1028 1066 0x5 0x48 108000
...inter-flip ts jitter: 0s, 66652us
Subtest flip-vs-absolute-wf_vblank: FAIL
DPMS property not found on 7

Reproduce steps:
----------------------------
1. ./kms_flip --run-subtest flip-vs-absolute-wf_vblank
Comment 1 Ville Syrjala 2013-10-01 07:26:15 UTC
Here's a git branch with some vblank related fixes:
git://gitorious.org/vsyrjala/linux.git scanout_new_5

Please test it and let us know if it fixes the problems.
Comment 2 fangxun 2013-10-10 09:30:42 UTC
It still failed on scanout_new_5 branch with output:
Beginning flip-vs-absolute-wf_vblank on crtc 3, connector 9
  1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x48 65000
..Test assertion failure function check_state_correlation, file kms_flip.c:549:
Failed assertion: fabs(usec_diff) / ftime <= 0.005
timestamp mismatch between flip and vblank (diff 0.0002 sec)
Subtest flip-vs-absolute-wf_vblank: FAIL
Test assertion failure function set_connector_dpms, file kms_flip.c:269:
Failed assertion: found_it
DPMS property not found on 9
kms_flip: drmtest.c:928: igt_fail: Assertion `!test_with_subtests || in_fixture' failed.
Aborted (core dumped)
Comment 3 Daniel Vetter 2013-10-30 07:45:15 UTC
Is this still an issue on latest -nightly an latest i-g-t? I think I've fixed this recently ...
Comment 4 lu hua 2013-10-31 08:14:29 UTC
Fixed on latest kernel.
Comment 5 lu hua 2013-10-31 08:14:43 UTC
Verified.Fixed.
Comment 6 Elizabeth 2017-10-06 14:43:26 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.