<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 - [Intel-GFX-CI][BAT] igt@amdgpu/amd_basic@userptr - fail - Failed assertion: r == 0"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110823">110823</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[Intel-GFX-CI][BAT] igt@amdgpu/amd_basic@userptr - fail - Failed assertion: r == 0
</td>
</tr>
<tr>
<th>Product</th>
<td>DRI
</td>
</tr>
<tr>
<th>Version</th>
<td>XOrg git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</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>martin.peres@free.fr
</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>Hi, it looks like amdgpu's userptrs are now broken:
<a href="https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6179/fi-kbl-8809g/igt@amdgpu_amd_basic@userptr.html">https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6179/fi-kbl-8809g/igt@amdgpu_amd_basic@userptr.html</a>
Starting subtest: userptr
(amd_basic:3888) CRITICAL: Test assertion failure function amdgpu_userptr_test,
file ../tests/amdgpu/amd_basic.c:1331:
(amd_basic:3888) CRITICAL: Failed assertion: r == 0
(amd_basic:3888) CRITICAL: Last errno: 19, No such device
(amd_basic:3888) CRITICAL: error: -19 != 0
Please also fix the test to make the assertion easier to read. I had to go to
the source code to find out it was due to this:
r = amdgpu_create_bo_from_user_mem(device, ptr, BUFFER_SIZE, &buf_handle);
igt_assert_eq(r, 0);
Please use igt_assert_f() in order to provide reasons (there are tons of
igt_assert_eq(r, 0)).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>