Lines Matching refs:spin
509 igt_spin_t *spin; in check_individual_engine() local
516 spin = igt_spin_new(i915, .ctx = ctx, .engine = idx + 1); in check_individual_engine()
518 igt_spin_free(i915, spin); in check_individual_engine()
627 igt_spin_t *spin, *plug; in bonded() local
649 spin = __igt_spin_new(i915, in bonded()
654 eb = spin->execbuf; in bonded()
656 eb.rsvd2 = spin->out_fence; in bonded()
666 igt_spin_free(i915, spin); in bonded()
815 igt_spin_t *spin[2]; in busy() local
825 spin[0] = __igt_spin_new(i915, in busy()
828 spin[1] = __igt_spin_new(i915, in busy()
832 igt_spin_busywait_until_started(spin[0]); in busy()
835 busy.handle = spin[0]->handle; in busy()
840 busy.handle = spin[1]->handle; in busy()
850 igt_spin_free(i915, spin[1]); in busy()
851 igt_spin_free(i915, spin[0]); in busy()
887 igt_spin_t *spin = NULL; in full() local
927 if (spin == NULL) { in full()
928 spin = __igt_spin_new(i915, .ctx = ctx); in full()
931 .buffers_ptr = spin->execbuf.buffers_ptr, in full()
932 .buffer_count = spin->execbuf.buffer_count, in full()
949 igt_spin_free(i915, spin); in full()
1104 igt_spin_t *spin[3]; in semaphore() local
1117 spin[2] = igt_spin_new(i915, .dependency = scratch); in semaphore()
1135 spin[i] = __igt_spin_new(i915, in semaphore()
1150 igt_spin_free(i915, spin[i]); in semaphore()
1154 igt_spin_free(i915, spin[2]); in semaphore()