• Home
  • Raw
  • Download

Lines Matching refs:spin

111 	igt_spin_t *spin[2];  in disjoint_timelines()  local
124 spin[0] = __igt_spin_new(i915, .ctx = 0, .dependency = plug); in disjoint_timelines()
125 spin[1] = __igt_spin_new(i915, .ctx = child); in disjoint_timelines()
128 igt_spin_end(spin[1]); in disjoint_timelines()
129 gem_sync(i915, spin[1]->handle); in disjoint_timelines()
133 igt_spin_free(i915, spin[1]); in disjoint_timelines()
134 igt_spin_free(i915, spin[0]); in disjoint_timelines()
365 igt_spin_t *spin; in exec_single_timeline() local
376 spin = NULL; in exec_single_timeline()
381 if (spin == NULL) { in exec_single_timeline()
382 spin = __igt_spin_new(i915, .ctx = ctx, .engine = other); in exec_single_timeline()
385 .buffers_ptr = spin->execbuf.buffers_ptr, in exec_single_timeline()
386 .buffer_count = spin->execbuf.buffer_count, in exec_single_timeline()
393 igt_require(spin); in exec_single_timeline()
395 igt_spin_free(i915, spin); in exec_single_timeline()
404 spin = NULL; in exec_single_timeline()
409 if (spin == NULL) { in exec_single_timeline()
410 spin = __igt_spin_new(i915, .ctx = ctx, .engine = other); in exec_single_timeline()
413 .buffers_ptr = spin->execbuf.buffers_ptr, in exec_single_timeline()
414 .buffer_count = spin->execbuf.buffer_count, in exec_single_timeline()
421 igt_assert(spin); in exec_single_timeline()
423 igt_spin_free(i915, spin); in exec_single_timeline()
496 igt_spin_t *spin[MAX_ELSP_QLEN]; in unplug_show_queue() local
498 for (int n = 0; n < ARRAY_SIZE(spin); n++) { in unplug_show_queue()
503 spin[n] = __igt_spin_factory(i915, &opts); in unplug_show_queue()
510 for (int n = 0; n < ARRAY_SIZE(spin); n++) in unplug_show_queue()
511 igt_spin_free(i915, spin[n]); in unplug_show_queue()
558 igt_spin_t *spin[MAX_ELSP_QLEN]; in independent() local
589 for (int n = 0; n < ARRAY_SIZE(spin); n++) { in independent()
594 spin[n] = __igt_spin_factory(i915, &opts); in independent()
605 for (int n = 0; n < ARRAY_SIZE(spin); n++) in independent()
606 igt_spin_free(i915, spin[n]); in independent()