<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [IGT] kms_cursor_legacy --r *2x* execution stops on next test after FAIL"
href="https://bugs.freedesktop.org/show_bug.cgi?id=104538">104538</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[IGT] kms_cursor_legacy --r *2x* execution stops on next test after FAIL
</td>
</tr>
<tr>
<th>Product</th>
<td>DRI
</td>
</tr>
<tr>
<th>Version</th>
<td>DRI git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>major
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>DRM/Intel
</td>
</tr>
<tr>
<th>Assignee</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jari.tahvanainen@intel.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>CC</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=136611" name="attach_136611" title="--debug output with igt-commit cb43735cab7">attachment 136611</a> <a href="attachment.cgi?id=136611&action=edit" title="--debug output with igt-commit cb43735cab7">[details]</a></span>
--debug output with igt-commit cb43735cab7
The change on igt-commit d86d53b072b is causing the new FAIL
(kms_cursor_legacy:18758) CRITICAL: Test assertion failure function
two_screens_flip_vs_cursor, file kms_cursor_legacy.c:1013:
(kms_cursor_legacy:18758) CRITICAL: Failed assertion: vblank_matches
(kms_cursor_legacy:18758) CRITICAL: Last errno: 16, Device or resource busy
(kms_cursor_legacy:18758) CRITICAL: During modeset at least 1 page flip needs
to match!
(kms_cursor_legacy:18758) igt-core-INFO: Stack trace:
(kms_cursor_legacy:18758) igt-core-INFO: #0 [__igt_fail_assert+0x101]
(kms_cursor_legacy:18758) igt-core-INFO: #1
[two_screens_flip_vs_cursor+0x8fe]
(kms_cursor_legacy:18758) igt-core-INFO: #2 [__real_main1369+0xbee]
(kms_cursor_legacy:18758) igt-core-INFO: #3 [main+0x27]
(kms_cursor_legacy:18758) igt-core-INFO: #4 [__libc_start_main+0xf1]
(kms_cursor_legacy:18758) igt-core-INFO: #5 [_start+0x2a]
(kms_cursor_legacy:18758) igt-core-INFO: #6 [<unknown>+0x2a]
**** END ****
Stack trace:
#0 [__igt_fail_assert+0x101]
#1 [two_screens_flip_vs_cursor+0x8fe]
#2 [__real_main1369+0xbee]
#3 [main+0x27]
#4 [__libc_start_main+0xf1]
#5 [_start+0x2a]
#6 [<unknown>+0x2a]
Subtest 2x-nonblocking-modeset-vs-cursor-atomic: FAIL (1.094s)
and igt to hang on execution of the next test.
(kms_cursor_legacy:18758) igt-core-DEBUG: Starting subtest:
2x-cursor-vs-flip-atomic
...
(kms_cursor_legacy:18758) igt-kms-DEBUG: Test requirement passed: plane_idx >=
0 && plane_idx < pipe->n_planes
(kms_cursor_legacy:18758) igt-kms-DEBUG: display: B.0: plane_set_fb(124)
(kms_cursor_legacy:18758) igt-kms-DEBUG: display: B.0: plane_set_size
(1920x1200)
(kms_cursor_legacy:18758) igt-kms-DEBUG: display: B.0: fb_set_position(0,0)
(kms_cursor_legacy:18758) igt-kms-DEBUG: display: B.0: fb_set_size(1920x1200)
(kms_cursor_legacy:18758) igt-kms-DEBUG: display: commit {
(kms_cursor_legacy:18758) igt-kms-DEBUG: display: populating plane data:
B.0, fb 124
(kms_cursor_legacy:18758) igt-kms-DEBUG: plane B.0: Setting property "SRC_X"
(kms_cursor_legacy:18902) DEBUG: child 0: 3515 cursor updates
(kms_cursor_legacy:18903) DEBUG: child 1: 3518 cursor updates
IGT executions stops on above "step" on next test, in this case
2x-cursor-vs-flip-atomic.
On --debug logs (see attachments), the main difference seems to be
pipe(kms_cursor_legacy:18605) DEBUG: child 0: 6628 cursor updates
(kms_cursor_legacy:18606) DEBUG: child 1: 6662 cursor updates
->n_planes
vs.
(kms_cursor_legacy:10997) igt-kms-DEBUG: plane B.0: Setting property "SRC_X"
t(kms_cursor_legacy:11195) DEBUG: child 0: 8033 cursor updates
(kms_cursor_legacy:11196) DEBUG: child 1: 5988 cursor updates
o 0x0/0
with igt-commit cb43735cab7 where igt execution hang does not happen.
Latter works after FAIL case, 1st hangs on next test after FAIL, when using
sudo ./kms_cursor_legacy --debug --r '*2x*'
on SKL with two displays attached
Connectors:
id encoder status type size (mm) modes
59 0 disconnected HDMI-A 0x0 0
64 63 connected HDMI-A 520x320 21
66 65 connected DP 520x320 12</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>