Bug 85218 - [all Regression]igt/kms_flip some subcases fail
Summary: [all Regression]igt/kms_flip some subcases fail
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: high normal
Assignee: Mika Kuoppala
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords: bisect_pending
Depends on:
Blocks:
 
Reported: 2014-10-20 07:38 UTC by Guo Jinxian
Modified: 2017-10-06 14:34 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (96.81 KB, text/plain)
2014-10-20 07:38 UTC, Guo Jinxian
no flags Details
lib: fix #define max (947 bytes, patch)
2014-10-20 10:30 UTC, Mika Kuoppala
no flags Details | Splinter Review

Description Guo Jinxian 2014-10-20 07:38:31 UTC
Created attachment 108085 [details]
dmesg

==System Environment==
--------------------------
Regression: Yes.
It's a igt regression bug 
Good commit: e11b7100c9c8d4e74a4d4439b1519ea50741fda5
Bud commit: bba1cd0091b3e8e987f15dac1f38d233b5b0ee78

Non-working platforms: IVB BDW

==kernel==
--------------------------
origin/drm-intel-nightly: 8d1dbeed28a28ecf964769bf089503f0c90ffdaa(fails)
    drm-intel-nightly: 2014y-10m-19d-14h-54m-38s UTC integration manifest
origin/drm-intel-next-queued: 6476486cb3570d3662e4a3870b884e75d35d1072(fails)
    drm/i915: Document that mmap forwarding is discouraged
origin/drm-intel-fixes: bfe01a5ba2490f299e1d2d5508cbbbadd897bbe9(fails)
    Linux 3.17

==Bug detailed description==
igt/kms_flip some subcases fail

Case list:
igt/kms_flip/blocking-wf_vblank
igt/kms_flip/flip-vs-absolute-wf_vblank
igt/kms_flip/flip-vs-absolute-wf_vblank-interruptible
igt/kms_flip/flip-vs-blocking-wf-vblank
igt/kms_flip/flip-vs-wf_vblank
igt/kms_flip/flip-vs-wf_vblank-interruptible
igt/kms_flip/plain-flip-fb-recreate
igt/kms_flip/plain-flip-fb-recreate-interruptible
igt/kms_flip/plain-flip-ts-check
igt/kms_flip/plain-flip-ts-check-interruptible
igt/kms_flip/wf_vblank-ts-check
igt/kms_flip/wf_vblank-ts-check-interruptible


Output:
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_flip --run-subtest blocking-wf_vblank
IGT-Version: 1.8-gbba1cd0 (x86_64) (Linux: 3.17.0_drm-intel-nightly_8d1dbe_20141020+ x86_64)
Using monotonic timestamps
Beginning blocking-wf_vblank on crtc 8, connector 19
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
..Test assertion failure function check_state, file kms_flip.c:585:
Failed assertion: fabs((((double) diff.tv_usec) - usec_interflip) / usec_interflip) <= 0.005
inter-vblank ts jitter: 0s, 166664us
Subtest blocking-wf_vblank: FAIL (1.442s)


==Reproduce steps==
---------------------------- 
1. ./kms_flip --run-subtest blocking-wf_vblank
Comment 1 Mika Kuoppala 2014-10-20 10:30:31 UTC
Created attachment 108104 [details] [review]
lib: fix #define max
Comment 2 Guo Jinxian 2014-10-21 06:42:11 UTC
(In reply to Mika Kuoppala from comment #1)
> Created attachment 108104 [details] [review] [review]
> lib: fix #define max

Test passes with this patch.

root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_flip --run-subtest blocking-wf_vblank
IGT-Version: 1.8-gd58b5a4 (x86_64) (Linux: 3.17.0_drm-intel-nightly_1361e3_20141018+ x86_64)
Using monotonic timestamps
Beginning blocking-wf_vblank on crtc 8, connector 19
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
.............................................................
blocking-wf_vblank on crtc 8, connector 19: PASSED

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

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

Subtest blocking-wf_vblank: SUCCESS (36.010s)
Comment 3 lu hua 2014-10-22 02:14:57 UTC
It impacts all platforms.
Comment 4 Guo Jinxian 2014-10-24 05:25:15 UTC
Verified on latest igt eae9f724f2335d8b44ef884e24b1590c3b0a3a33


root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_flip --run-subtest blocking-wf_vblank
IGT-Version: 1.8-geae9f72 (x86_64) (Linux: 3.18.0-rc1_drm-intel-nightly_77683b_20141023+ x86_64)
Using monotonic timestamps
Beginning blocking-wf_vblank on crtc 8, connector 19
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
.............................................................
blocking-wf_vblank on crtc 8, connector 19: PASSED

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

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

Subtest blocking-wf_vblank: SUCCESS (36.017s)
Comment 5 Elizabeth 2017-10-06 14:34:38 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.