diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-11-10 21:55:03 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-11-10 21:56:20 +0000 |
commit | 2d522ecdf26c346af22e0406e0243b2932197b34 (patch) | |
tree | 7d57f5a6224ff42a0587a69392a0e2ec9fb1c60f /tests/i915/gem_userptr_blits.c | |
parent | 48bf21fabbf7a5d8a9458fe449394f190c3f2331 (diff) |
i915: Drop superfluous UFFD_API_RANGE_IOCTLS assert
We only require the minimum set of userfaultfd API (wake, copy) so we
can remove the overzealous assert that we have the full range. The full
range is not available if the vma contains a huge page, for example.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Diffstat (limited to 'tests/i915/gem_userptr_blits.c')
-rw-r--r-- | tests/i915/gem_userptr_blits.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/i915/gem_userptr_blits.c b/tests/i915/gem_userptr_blits.c index 4b02df64..bbe8ce6d 100644 --- a/tests/i915/gem_userptr_blits.c +++ b/tests/i915/gem_userptr_blits.c @@ -2272,7 +2272,6 @@ static void test_userfault(int i915) reg.range.start = to_user_pointer(t.page); reg.range.len = 4096; do_ioctl(ufd, UFFDIO_REGISTER, ®); - igt_assert(reg.ioctls == UFFD_API_RANGE_IOCTLS); igt_assert(pthread_create(&thread, NULL, ufd_thread, &t) == 0); |