Bug 106013 - [CI] igt@prime_mmap@test_userptr - fail - Failed assertion: __gem_userptr(fd, ptr, size, read_only, flags, handle) == 0
Summary: [CI] igt@prime_mmap@test_userptr - fail - Failed assertion: __gem_userptr(fd,...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: IGT (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-12 17:59 UTC by Martin Peres
Modified: 2018-04-30 07:13 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Martin Peres 2018-04-12 17:59:05 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_7/fi-bwr-2160/igt@prime_mmap@test_userptr.html

(prime_mmap:1476) ioctl_wrappers-CRITICAL: Test assertion failure function gem_userptr, file ../lib/ioctl_wrappers.c:902:
(prime_mmap:1476) ioctl_wrappers-CRITICAL: Failed assertion: __gem_userptr(fd, ptr, size, read_only, flags, handle) == 0
(prime_mmap:1476) ioctl_wrappers-CRITICAL: Last errno: 19, No such device
(prime_mmap:1476) ioctl_wrappers-CRITICAL: error: -19 != 0
Subtest test_userptr failed.
Comment 1 Chris Wilson 2018-04-12 18:02:05 UTC
Boring, but true, there ain't no such device on brw!
Comment 2 Martin Peres 2018-04-12 19:01:19 UTC
(In reply to Chris Wilson from comment #1)
> Boring, but true, there ain't no such device on brw!

Isn't that Broadwater?
Comment 3 Chris Wilson 2018-04-12 19:04:45 UTC
The broadwater with the incoherent snooping, bwr as Tomi called it. No snooping, no userptr.
Comment 4 Chris Wilson 2018-04-29 13:31:14 UTC
commit 83ba5b7d3bde48b383df41792fc9c955a5a23bdb
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Apr 12 19:07:17 2018 +0100

    igt/prime_mmap: Test for userptr support first
    
    Before we start trying to use userptr to test interoperability with
    PRIME, we first need to check that the device in question has userptr
    support.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106013
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Comment 5 Martin Peres 2018-04-30 07:13:11 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_26/fi-bwr-2160/igt@prime_mmap@test_userptr.html

Now properly skipping, thanks!


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.