Lines Matching refs:spin
247 igt_spin_t *spin[2] = {}; in load_helper_run() local
257 spin[0] = __igt_spin_new(drm_fd); in load_helper_run()
259 spin[1] = __igt_spin_new(drm_fd); in load_helper_run()
264 handle = spin[0]->handle; in load_helper_run()
265 igt_spin_end(spin[0]); in load_helper_run()
269 igt_spin_free(drm_fd, spin[0]); in load_helper_run()
273 if (!high_load && spin[1]) { in load_helper_run()
274 igt_spin_free(drm_fd, spin[1]); in load_helper_run()
275 spin[1] = NULL; in load_helper_run()
277 spin[0] = spin[1]; in load_helper_run()
279 spin[high_load] = __igt_spin_new(drm_fd); in load_helper_run()
288 handle = spin[0]->handle; in load_helper_run()
289 igt_spin_end(spin[0]); in load_helper_run()
291 if (spin[1]) { in load_helper_run()
292 handle = spin[1]->handle; in load_helper_run()
293 igt_spin_end(spin[1]); in load_helper_run()
308 igt_spin_free(drm_fd, spin[1]); in load_helper_run()
309 igt_spin_free(drm_fd, spin[0]); in load_helper_run()