• Home
  • Raw
  • Download

Lines Matching refs:spin

212 		igt_spin_t *spin;  in wakeup_ring()  local
223 spin = __igt_spin_new(fd, in wakeup_ring()
227 igt_assert(igt_spin_has_poll(spin)); in wakeup_ring()
231 igt_spin_end(spin); in wakeup_ring()
239 igt_spin_reset(spin); in wakeup_ring()
241 gem_execbuf(fd, &spin->execbuf); in wakeup_ring()
242 igt_spin_busywait_until_started(spin); in wakeup_ring()
245 igt_spin_end(spin); in wakeup_ring()
246 gem_sync(fd, spin->handle); in wakeup_ring()
263 igt_spin_reset(spin); in wakeup_ring()
265 gem_execbuf(fd, &spin->execbuf); in wakeup_ring()
266 igt_spin_busywait_until_started(spin); in wakeup_ring()
272 igt_spin_end(spin); in wakeup_ring()
286 igt_spin_free(fd, spin); in wakeup_ring()
321 igt_spin_t *spin[2]; in active_ring() local
323 spin[0] = __igt_spin_new(fd, in active_ring()
327 spin[1] = __igt_spin_new(fd, in active_ring()
336 igt_spin_t *s = spin[loop & 1]; in active_ring()
347 igt_spin_free(fd, spin[1]); in active_ring()
348 igt_spin_free(fd, spin[0]); in active_ring()
391 igt_spin_t *spin[2]; in active_wakeup_ring() local
402 spin[0] = __igt_spin_new(fd, in active_wakeup_ring()
406 igt_assert(igt_spin_has_poll(spin[0])); in active_wakeup_ring()
408 spin[1] = __igt_spin_new(fd, in active_wakeup_ring()
415 igt_spin_end(spin[1]); in active_wakeup_ring()
416 igt_spin_end(spin[0]); in active_wakeup_ring()
420 igt_spin_reset(spin[0]); in active_wakeup_ring()
422 gem_execbuf(fd, &spin[0]->execbuf); in active_wakeup_ring()
428 igt_spin_busywait_until_started(spin[0]); in active_wakeup_ring()
430 igt_spin_reset(spin[1]); in active_wakeup_ring()
432 gem_execbuf(fd, &spin[1]->execbuf); in active_wakeup_ring()
435 igt_spin_end(spin[0]); in active_wakeup_ring()
436 gem_sync(fd, spin[0]->handle); in active_wakeup_ring()
441 igt_swap(spin[0], spin[1]); in active_wakeup_ring()
443 igt_spin_end(spin[0]); in active_wakeup_ring()
451 igt_spin_reset(spin[0]); in active_wakeup_ring()
453 gem_execbuf(fd, &spin[0]->execbuf); in active_wakeup_ring()
459 igt_spin_busywait_until_started(spin[0]); in active_wakeup_ring()
464 igt_spin_reset(spin[1]); in active_wakeup_ring()
466 gem_execbuf(fd, &spin[1]->execbuf); in active_wakeup_ring()
469 igt_spin_end(spin[0]); in active_wakeup_ring()
475 igt_swap(spin[0], spin[1]); in active_wakeup_ring()
477 igt_spin_end(spin[0]); in active_wakeup_ring()
485 igt_spin_free(fd, spin[1]); in active_wakeup_ring()
486 igt_spin_free(fd, spin[0]); in active_wakeup_ring()
1185 igt_spin_t *spin = in preempt() local
1195 igt_spin_free(fd, spin); in preempt()