Bug 100558 - [BAT][SNB] igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy failed on CI
Summary: [BAT][SNB] igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy failed ...
Status: CLOSED DUPLICATE of bug 100215
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: highest critical
Assignee: krisman
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-04 14:48 UTC by Martin Peres
Modified: 2017-07-24 23:15 UTC (History)
1 user (show)

See Also:
i915 platform: SNB
i915 features: display/Other


Attachments

Description Martin Peres 2017-04-04 14:48:42 UTC
The test igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy failed on CI on run CI_DRM_2465 on machine fi-snb-2600.

Relevant information:

(kms_cursor_legacy:9662) CRITICAL: Test assertion failure function basic_flip_cursor, file kms_cursor_legacy.c:655:
(kms_cursor_legacy:9662) CRITICAL: Failed assertion: get_vblank(display->drm_fd, pipe, 0) == vblank_start
(kms_cursor_legacy:9662) CRITICAL: error: 17707 != 17706
Subtest basic-busy-flip-before-cursor-legacy failed.
**** DEBUG ****
(kms_cursor_legacy:9662) DEBUG: Test requirement passed: found
(kms_cursor_legacy:9662) igt-kms-DEBUG: display: HDMI-A-1: set_pipe(A)
(kms_cursor_legacy:9662) igt-kms-DEBUG: display: HDMI-A-1: Selecting pipe A
(kms_cursor_legacy:9662) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0)
(kms_cursor_legacy:9662) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680)
(kms_cursor_legacy:9662) igt-kms-DEBUG: display: A.0: plane_set_fb(49)
(kms_cursor_legacy:9662) DEBUG: Test requirement passed: set_fb_on_crtc(display, pipe, &fb_info)
(kms_cursor_legacy:9662) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=64, height=64, format=0x34325241, tiling=0x0, size=0)
(kms_cursor_legacy:9662) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=256)
(kms_cursor_legacy:9662) DEBUG: Test requirement passed: cursor
(kms_cursor_legacy:9662) igt-kms-DEBUG: display: A.2: plane_set_fb(71)
(kms_cursor_legacy:9662) igt-kms-DEBUG: display: commit {
(kms_cursor_legacy:9662) igt-kms-DEBUG: display:     A: Setting mode 1920x1080 from HDMI-A-1
(kms_cursor_legacy:9662) igt-kms-DEBUG: display:     populating plane data: A.0, fb 49
(kms_cursor_legacy:9662) igt-kms-DEBUG: display:     src = (0, 0) 1920 x 1080 dst = (0, 0) 1920 x 1080
(kms_cursor_legacy:9662) igt-kms-DEBUG: display:     populating plane data: A.1, fb 0
(kms_cursor_legacy:9662) igt-kms-DEBUG: display:     populating plane data: A.2, fb 71
(kms_cursor_legacy:9662) igt-kms-DEBUG: display:     src = (0, 0) 64 x 64 dst = (0, 0) 64 x 64
(kms_cursor_legacy:9662) igt-kms-DEBUG: display:     B: Setting NULL mode
(kms_cursor_legacy:9662) igt-kms-DEBUG: display:     populating plane data: B.0, fb 0
(kms_cursor_legacy:9662) igt-kms-DEBUG: display:     populating plane data: B.1, fb 0
(kms_cursor_legacy:9662) igt-kms-DEBUG: display:     populating plane data: B.2, fb 0
(kms_cursor_legacy:9662) igt-kms-DEBUG: display:     VGA-1: preparing atomic, pipe: None
(kms_cursor_legacy:9662) igt-kms-DEBUG: display:     HDMI-A-1: preparing atomic, pipe: A
(kms_cursor_legacy:9662) igt-kms-DEBUG: display:     DP-1: preparing atomic, pipe: None
(kms_cursor_legacy:9662) igt-kms-DEBUG: display: }
(kms_cursor_legacy:9662) CRITICAL: Test assertion failure function basic_flip_cursor, file kms_cursor_legacy.c:655:
(kms_cursor_legacy:9662) CRITICAL: Failed assertion: get_vblank(display->drm_fd, pipe, 0) == vblank_start
(kms_cursor_legacy:9662) CRITICAL: error: 17707 != 17706
****  END  ****

More information: https://intel-gfx-ci.01.org/CI/CI_DRM_2465/fi-snb-2600/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy.html
Comment 1 krisman 2017-04-05 19:41:52 UTC
This seems to have the same cause as Bug 100215 <https://bugs.freedesktop.org/show_bug.cgi?id=100215>. 

We also see several intel_dp_aux_ch timeouts in a row, which might be causing the failure to update in a single vblank

[  435.990152] [drm:intel_dp_aux_ch [i915]] dp_aux_ch timeout status 0x7143003f
[  435.990167] [drm:drm_dp_dpcd_access] Too many retries, giving up. First error: -110

Though it is a different CI test, should we mark as duplicated?
Comment 2 Martin Peres 2017-04-24 13:27:48 UTC
Sure, let's do that!

*** This bug has been marked as a duplicate of bug 100215 ***


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.