[Bug 110823] New: [Intel-GFX-CI][BAT] igt at amdgpu/amd_basic at userptr - fail - Failed assertion: r == 0

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 3 10:11:29 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=110823

            Bug ID: 110823
           Summary: [Intel-GFX-CI][BAT] igt at amdgpu/amd_basic at userptr -
                    fail - Failed assertion: r == 0
           Product: DRI
           Version: XOrg git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Intel
          Assignee: intel-gfx-bugs at lists.freedesktop.org
          Reporter: martin.peres at free.fr
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
                CC: intel-gfx-bugs at lists.freedesktop.org

Hi, it looks like amdgpu's userptrs are now broken:

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6179/fi-kbl-8809g/igt@amdgpu_amd_basic@userptr.html

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)).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20190603/fd95f668/attachment.html>


More information about the intel-gfx-bugs mailing list