Lines Matching refs:spin
35 static void spin(int fd, const struct intel_execution_engine2 *e2, in spin() function
40 igt_spin_t *spin; in spin() local
45 spin = __igt_spin_new(fd, .engine = e2->flags); in spin()
49 igt_spin_set_timeout(spin, in spin()
51 gem_sync(fd, spin->handle); in spin()
58 igt_spin_free(fd, spin); in spin()
59 spin = next; in spin()
62 igt_spin_free(fd, spin); in spin()
79 igt_spin_t *spin = __igt_spin_new(fd, .ctx = ctx0, .engine = e2->flags); in spin_resubmit() local
84 .buffers_ptr = to_user_pointer(&spin->obj[IGT_SPIN_BATCH]), in spin_resubmit()
108 igt_spin_end(spin); in spin_resubmit()
110 gem_sync(fd, spin->handle); in spin_resubmit()
112 igt_spin_free(fd, spin); in spin_resubmit()
132 spin(fd, e2, timeout_sec); in spin_on_all_engines()
161 spin(fd, e2, 3);
172 spin(fd, e2, 3); in __for_each_physical_engine()