Home
last modified time | relevance | path

Searched refs:igt_require (Results 1 – 25 of 182) sorted by relevance

12345678

/external/igt-gpu-tools/tests/i915/
Dgem_exec_params.c110 igt_require(gem_can_store_dword(fd, 0)); in test_batch_first()
111 igt_require(has_exec_batch_first(fd)); in test_batch_first()
251 igt_require(!gem_has_bsd(fd));
256 igt_require(!gem_has_blt(fd));
261 igt_require(!gem_has_vebox(fd));
276 igt_require(gem_has_bsd2(fd));
302 igt_require(gem_has_vebox(fd));
308 igt_require(gem_has_vebox(fd));
314 igt_require(gem_has_bsd(fd));
320 igt_require(intel_gen(devid) > 5);
[all …]
Dgem_eio.c60 igt_require(fd >= 0); in i915_reset_control()
100 igt_require(i915_reset_control(false)); in wedge_gpu()
324 igt_require(i915_reset_control(true)); in __test_banned()
382 igt_require(i915_reset_control(false)); in test_wait()
384 igt_require(i915_reset_control(true)); in test_wait()
392 igt_require(i915_reset_control(true)); in test_wait()
407 igt_require(i915_reset_control(false)); in test_suspend()
412 igt_require(i915_reset_control(true)); in test_suspend()
425 igt_require(gem_has_exec_fence(fd)); in test_inflight()
428 igt_require(max > 1); in test_inflight()
[all …]
Dgem_exec_suspend.c114 igt_require(gem_has_ring(fd, 0)); in run_test()
115 igt_require(gem_can_store_dword(fd, 0)); in run_test()
119 igt_require(gem_has_ring(fd, engine)); in run_test()
120 igt_require(gem_can_store_dword(fd, engine)); in run_test()
123 igt_require(nengine); in run_test()
144 igt_require(__gem_execbuf(fd, &execbuf) == 0); in run_test()
251 igt_require(gem_can_store_dword(fd, 0));
Dgem_exec_capture.c423 igt_require(count > 1); in many()
502 igt_require(__gem_userptr(fd, ptr, 4096, 0, 0, &handle) == 0); in userptr()
547 igt_require(has_capture(fd));
551 igt_require(igt_sysfs_set(dir, "error", "Begone!"));
552 igt_require(safer_strlen(igt_sysfs_get(dir, "error")) > 0);
561 igt_require(gem_ring_has_physical_engine(fd, e->exec_id | e->flags));
562 igt_require(gem_can_store_dword(fd, e->exec_id | e->flags));
568 igt_require(gem_can_store_dword(fd, 0));
573 igt_require(gem_can_store_dword(fd, 0));
578 igt_require(gem_can_store_dword(fd, 0));
[all …]
Di915_pm_lpsp.c120 igt_require(connector); in edp_subtest()
168 igt_require(connector); in non_edp_subtest()
197 igt_require(drm_fd >= 0);
202 igt_require(drm_res);
211 igt_require(supports_lpsp(devid));
Dgem_exec_async.c142 igt_require(__gem_execbuf(fd, &execbuf) == 0); in one()
197 igt_require(has_async_execbuf(fd));
198 igt_require(gem_can_store_dword(fd, 0));
208 igt_require(gem_ring_has_physical_engine(fd, e->exec_id | e->flags));
209 igt_require(gem_can_store_dword(fd, e->exec_id | e->flags));
Dgem_busy.c246 igt_require(__gem_execbuf(fd, &execbuf) == 0); in one()
313 igt_require(ncpus > 1); in close_race()
324 igt_require(nengine); in close_race()
479 igt_require(gem_class_can_store_dword(fd,
504 igt_require(has_extended_busy_ioctl(fd));
510 igt_require(gem_class_can_store_dword(fd, in __for_each_physical_engine()
520 igt_require(gem_class_can_store_dword(fd, e->class)); in __for_each_physical_engine()
531 igt_require(has_extended_busy_ioctl(fd));
532 igt_require(has_semaphores(fd));
568 igt_require(has_extended_busy_ioctl(fd));
[all …]
Dgem_ctx_shared.c114 igt_require(gem_has_execlists(i915)); in disjoint_timelines()
200 igt_require(gem_can_store_dword(i915, ring)); in exec_shared_gtt()
325 igt_require(has_single_timeline(i915)); in single_timeline()
368 igt_require(gem_ring_has_physical_engine(i915, engine)); in exec_single_timeline()
369 igt_require(has_single_timeline(i915)); in exec_single_timeline()
393 igt_require(spin); in exec_single_timeline()
544 igt_require(intel_gen(intel_get_drm_devid(i915)) >= 7); in store_timestamp()
740 igt_require(nengine); in smoketest()
799 igt_require(gem_contexts_has_shared_gtt(i915));
839 igt_require(gem_can_store_dword(i915, e->exec_id | e->flags));
[all …]
Di915_pm_rc6_residency.c213 igt_require(has_rc6_residency("rc6"));
217 igt_require(wait_for_rc6());
222 igt_require(rc6_enabled & RC6_ENABLED);
235 igt_require(IS_VALLEYVIEW(devid) || IS_CHERRYVIEW(devid));
Dgem_exec_gttfill.c133 igt_require(gem_can_store_dword(fd, ring)); in fillgtt()
137 igt_require(nengine); in fillgtt()
142 igt_require(size < (1ull<<32) * BATCH_SIZE); in fillgtt()
167 igt_require(batches[i].ptr); in fillgtt()
218 igt_require(gem_can_store_dword(device, 0));
Dgem_exec_nop.c125 igt_require(gem_can_store_dword(fd, engine)); in poll_ring()
242 igt_require(nengine); in poll_sequential()
397 igt_require(res); in headless()
406 igt_require(nr_connected > 0); in headless()
450 igt_require(nengine); in parallel()
514 igt_require(nengine); in series()
607 igt_require(nengine); in sequential()
621 igt_require(__gem_execbuf(fd, &execbuf) == 0); in sequential()
626 igt_require(__gem_context_create(fd, &id) == 0); in sequential()
633 igt_require(__gem_execbuf(fd, &execbuf) == 0); in sequential()
[all …]
Dgem_exec_schedule.c221 igt_require(engine != 0); in independent()
250 igt_require(spin); in independent()
296 igt_require(nengine); in smoketest()
365 igt_require(gem_scheduler_has_semaphores(i915)); in semaphore_userlock()
391 igt_require(spin); in semaphore_userlock()
469 igt_require(i == ARRAY_SIZE(task)); in semaphore_codependency()
502 igt_require(gem_scheduler_has_preemption(i915)); in semaphore_resolve()
503 igt_require(intel_get_drm_devid(i915) >= 8); /* for MI_SEMAPHORE_WAIT */ in semaphore_resolve()
622 igt_require(gen >= 6); /* MI_STORE_DWORD_IMM convenience */ in semaphore_noskip()
1255 igt_require(expected); /* too slow */ in deep()
[all …]
Dgem_mmap_gtt.c310 igt_require(mmap_gtt_version(i915) >= 3); in test_pf_nonblock()
405 igt_require(is_coherent(fd)); in test_coherency()
406 igt_require(igt_setup_clflush()); in test_coherency()
436 igt_require(igt_setup_clflush()); in test_clflush()
465 igt_require(igt_sysfs_set_parameter(fd, "reset", "1")); /* global */ in test_hang()
631 igt_require(__gem_set_tiling(fd, bo, tiling, pitch) == 0); in test_huge_bo()
632 igt_require(known_swizzling(fd, bo)); in test_huge_bo()
645 igt_require(__gem_set_tiling(fd, bo, tiling, pitch) == 0); in test_huge_bo()
727 igt_require(__gem_set_tiling(fd, bo[0], abs(tiling_a), min_tile_width(devid, tiling_a)) == 0); in test_huge_copy()
731 igt_require(a); in test_huge_copy()
[all …]
Dgem_reloc_overflow.c93 igt_require(intel_gen(devid) >= 8); in source_offset_tests()
107 igt_require(intel_gen(devid) >= 8); in source_offset_tests()
118 igt_require(intel_gen(devid) >= 8); in source_offset_tests()
130 igt_require(intel_gen(devid) < 8); in source_offset_tests()
211 igt_require(__gem_execbuf(fd, &execbuf) == 0); in reloc_tests()
236 igt_require(__gem_execbuf(fd, &execbuf) == 0); in reloc_tests()
/external/igt-gpu-tools/tests/
Dkms_flip_tiling.c84 igt_require(!(mode->flags & DRM_MODE_FLAG_INTERLACE)); in test_flip_tiling()
130 igt_require(ret == 0); in test_flip_tiling()
188 igt_require(data.gen >= 9);
200 igt_require(data.gen >= 9);
229 igt_require(data.gen >= 9);
241 igt_require(data.gen >= 9);
270 igt_require(data.gen >= 9);
282 igt_require(data.gen >= 9);
Dkms_getfb.c91 igt_require(has_addfb2_iface(fd)); in get_ccs_fb()
103 igt_require(add.handles[0] != 0); in get_ccs_fb()
140 igt_require(add.handles[0] != 0); in test_handle_input()
169 igt_require(get.fb_id > 0); in test_handle_input()
217 igt_require(add_ccs.handles[0] != 0); in test_duplicate_handles()
237 igt_require(has_getfb_iface(fd));
Dperf_pmu.c522 igt_require(spin); /* at least one busy engine */ in most_busy_check_all()
658 igt_require(intel_gen(intel_get_drm_devid(gem_fd)) >= 8); in sema_wait()
821 igt_require(intel_gen(devid) >= 7); in event_wait()
1014 igt_require(!(fd < 0 && errno == ENODEV)); in init_other()
1030 igt_require(!(fd < 0 && errno == ENODEV)); in read_other()
1058 igt_require(cpu0_hotplug_support()); in cpu_hotplug()
1290 igt_require(sysfs >= 0); in test_frequency()
1297 igt_require(min_freq > 0 && max_freq > 0 && boost_freq > 0); in test_frequency()
1298 igt_require(max_freq > min_freq); in test_frequency()
1299 igt_require(boost_freq > min_freq); in test_frequency()
[all …]
Dkms_cursor_legacy.c193 igt_require(cursor); in set_cursor_on_pipe()
376 igt_require(display->pipes[flip_pipe].n_planes > 1 && in prepare_flip_test()
402 igt_require(display->is_atomic); in flip()
404 igt_require(set_fb_on_crtc(display, flip_pipe, &fb_info)); in flip()
406 igt_require(set_fb_on_crtc(display, cursor_pipe, &fb_info2)); in flip()
511 igt_require(display->is_atomic); in basic_flip_cursor()
513 igt_require(set_fb_on_crtc(display, pipe, &fb_info)); in basic_flip_cursor()
645 igt_require(target > 1); in get_cursor_updates_per_vblank()
664 igt_require(display->is_atomic); in flip_vs_cursor()
666 igt_require(set_fb_on_crtc(display, pipe, &fb_info)); in flip_vs_cursor()
[all …]
Dkms_big_fb.c441 igt_require(igt_display_has_format_mod(&data->display, in test_size_overflow()
452 igt_require(data->max_fb_width >= 16383 && in test_size_overflow()
456 igt_require(bo); in test_size_overflow()
479 igt_require(igt_display_has_format_mod(&data->display, in test_size_offset_overflow()
489 igt_require(igt_display_has_format_mod(&data->display, in test_size_offset_overflow()
494 igt_require(bo); in test_size_offset_overflow()
543 igt_require(igt_display_has_format_mod(&data->display, in test_addfb()
553 igt_require(bo); in test_addfb()
612 igt_require(is_i915_device(data.drm_fd));
695 igt_require(data.format == DRM_FORMAT_C8 ||
[all …]
Dkms_content_protection.c636 igt_require(data.display.is_atomic);
642 igt_require(data.display.is_atomic);
648 igt_require(data.display.is_atomic);
654 igt_require(data.display.is_atomic);
659 igt_require(data.display.is_atomic);
665 igt_require(data.display.is_atomic);
671 igt_require(data.display.is_atomic);
687 igt_require(data.display.is_atomic);
Dkms_rotation_crc.c375 igt_require(display->has_cursor_plane); in test_plane_rotation()
389 igt_require(igt_plane_has_prop(plane, IGT_PLANE_ROTATION)); in test_plane_rotation()
657 igt_require(igt_plane_has_prop(plane, IGT_PLANE_ROTATION)); in test_plane_rotation_exhaust_fences()
673 igt_require(total_fbs_size < total_aperture_size * 0.9); in test_plane_rotation_exhaust_fences()
789 igt_require(!(subtest->rot &
798 igt_require(gen >= 9);
812 igt_require(gen >= 9);
820 igt_require(gen >= 9);
831 igt_require(gen >= 10 ||
841 igt_require(gen >= 9);
[all …]
Dkms_busy.c144 igt_require(dpy->is_atomic); in test_flip()
322 igt_require(gem_has_ring(display.drm_fd, in for_each_pipe_static()
329 igt_require(gem_has_ring(display.drm_fd, in for_each_pipe_static()
336 igt_require(gem_has_ring(display.drm_fd, in for_each_pipe_static()
344 igt_require(gem_has_ring(display.drm_fd, in for_each_pipe_static()
351 igt_require(display.is_atomic); in for_each_pipe_static()
Dkms_tv_load_detect.c40 igt_require(res);
63 igt_require(tv_connector);
/external/igt-gpu-tools/runner/
Drunner_tests.c266 igt_require((cwd = realpath(".", NULL)) != NULL);
304 igt_require(mkdtemp(dirname) != NULL);
305 igt_require((dirfd = open(dirname, O_DIRECTORY | O_RDONLY)) >= 0);
306 igt_require((fd = openat(dirfd, tmptestlist, O_CREAT | O_EXCL | O_WRONLY, 0660)) >= 0);
340 igt_require((dirfd = open(dirname, O_DIRECTORY | O_RDONLY)) >= 0);
591 igt_require((fd = mkstemp(filename)) >= 0);
631 igt_require(mkdtemp(dirname) != NULL);
671 igt_require((fd = mkstemp(filename)) >= 0);
672 igt_require(write(fd, testlisttext, strlen(testlisttext)) == strlen(testlisttext));
737 igt_require(mkdtemp(dirname) != NULL);
[all …]
/external/igt-gpu-tools/lib/tests/
Digt_subtest_group.c41 igt_require(true);
46 igt_require(false);

12345678