• Home
  • Raw
  • Download

Lines Matching refs:execbuf

49 	struct drm_i915_gem_execbuffer2 execbuf;  in test_invalid()  local
52 memset(&execbuf, 0, sizeof(execbuf)); in test_invalid()
53 execbuf.buffers_ptr = to_user_pointer(&object); in test_invalid()
54 execbuf.buffer_count = 1; in test_invalid()
64 igt_assert_eq(__gem_execbuf(fd, &execbuf), -EINVAL); in test_invalid()
69 igt_assert_eq(__gem_execbuf(fd, &execbuf), -EINVAL); in test_invalid()
74 igt_assert_eq(__gem_execbuf(fd, &execbuf), -EINVAL); in test_invalid()
79 igt_assert_eq(__gem_execbuf(fd, &execbuf), -EINVAL); in test_invalid()
82 igt_assert_eq(__gem_execbuf(fd, &execbuf), 0); in test_invalid()
89 igt_assert_eq(__gem_execbuf(fd, &execbuf), -EINVAL); in test_invalid()
93 igt_assert_eq(__gem_execbuf(fd, &execbuf), 0); in test_invalid()
101 struct drm_i915_gem_execbuffer2 execbuf; in test_softpin() local
109 memset(&execbuf, 0, sizeof(execbuf)); in test_softpin()
110 execbuf.buffers_ptr = to_user_pointer(&object); in test_softpin()
111 execbuf.buffer_count = 1; in test_softpin()
118 gem_execbuf(fd, &execbuf); in test_softpin()
132 gem_execbuf(fd, &execbuf); in test_softpin()
144 struct drm_i915_gem_execbuffer2 execbuf; in test_overlap() local
156 memset(&execbuf, 0, sizeof(execbuf)); in test_overlap()
157 execbuf.buffers_ptr = to_user_pointer(object); in test_overlap()
158 execbuf.buffer_count = 1; in test_overlap()
159 gem_execbuf(fd, &execbuf); in test_overlap()
170 execbuf.buffer_count = 2; in test_overlap()
174 gem_execbuf(fd, &execbuf); in test_overlap()
178 gem_execbuf(fd, &execbuf); in test_overlap()
191 igt_assert_eq(__gem_execbuf(fd, &execbuf), -EINVAL); in test_overlap()
204 struct drm_i915_gem_execbuffer2 execbuf; in busy_batch() local
219 memset(&execbuf, 0, sizeof(execbuf)); in busy_batch()
220 execbuf.buffers_ptr = to_user_pointer(object); in busy_batch()
221 execbuf.buffer_count = 2; in busy_batch()
223 execbuf.flags = I915_EXEC_BLT; in busy_batch()
224 gem_execbuf(fd, &execbuf); in busy_batch()
256 gem_execbuf(fd, &execbuf); in busy_batch()
266 struct drm_i915_gem_execbuffer2 execbuf; in test_evict_active() local
274 memset(&execbuf, 0, sizeof(execbuf)); in test_evict_active()
275 execbuf.buffers_ptr = to_user_pointer(&object); in test_evict_active()
276 execbuf.buffer_count = 1; in test_evict_active()
283 gem_execbuf(fd, &execbuf); in test_evict_active()
292 struct drm_i915_gem_execbuffer2 execbuf; in test_evict_snoop() local
299 memset(&execbuf, 0, sizeof(execbuf)); in test_evict_snoop()
300 execbuf.buffers_ptr = to_user_pointer(object); in test_evict_snoop()
301 execbuf.buffer_count = 1; in test_evict_snoop()
307 gem_execbuf(fd, &execbuf); in test_evict_snoop()
318 execbuf.buffer_count = 2; in test_evict_snoop()
323 igt_assert_eq(__gem_execbuf(fd, &execbuf), -EINVAL); in test_evict_snoop()
328 igt_assert_eq(__gem_execbuf(fd, &execbuf), -EINVAL); in test_evict_snoop()
333 igt_assert_eq(__gem_execbuf(fd, &execbuf), 0); in test_evict_snoop()
338 igt_assert_eq(__gem_execbuf(fd, &execbuf), 0); in test_evict_snoop()
349 struct drm_i915_gem_execbuffer2 execbuf; in test_evict_hang() local
358 memset(&execbuf, 0, sizeof(execbuf)); in test_evict_hang()
359 execbuf.buffers_ptr = to_user_pointer(&object); in test_evict_hang()
360 execbuf.buffer_count = 1; in test_evict_hang()
368 gem_execbuf(fd, &execbuf); in test_evict_hang()
389 struct drm_i915_gem_execbuffer2 execbuf; in test_noreloc() local
403 memset(&execbuf, 0, sizeof(execbuf)); in test_noreloc()
404 execbuf.buffers_ptr = to_user_pointer(object); in test_noreloc()
405 execbuf.buffer_count = 1; in test_noreloc()
407 execbuf.flags |= I915_EXEC_SECURE; in test_noreloc()
408 gem_execbuf(fd, &execbuf); in test_noreloc()
445 execbuf.buffer_count = ARRAY_SIZE(object); in test_noreloc()
448 gem_execbuf(fd, &execbuf); in test_noreloc()