Lines Matching refs:nengine
77 unsigned nengine, engine; in wide() local
81 nengine = 0; in wide()
83 engines[nengine++] = engine; in wide()
84 igt_require(nengine); in wide()
86 exec = calloc(nengine, sizeof(*exec)); in wide()
89 intel_require_memory(nengine*(2 + ring_size), 4096, CHECK_RAM); in wide()
90 obj = calloc(nengine*ring_size + 1, sizeof(*obj)); in wide()
93 for (unsigned e = 0; e < nengine; e++) { in wide()
134 obj[nengine*ring_size].handle = gem_create(fd, 4096); in wide()
135 gem_write(fd, obj[nengine*ring_size].handle, 0, &bbe, sizeof(bbe)); in wide()
138 execbuf.buffers_ptr = to_user_pointer(&obj[nengine*ring_size]); in wide()
142 execbuf.buffer_count = nengine*ring_size + 1; in wide()
150 for (unsigned e = 0; e < nengine; e++) { in wide()
179 exec[e].exec[0] = obj[nengine*ring_size]; in wide()
189 igt_permute_array(obj, nengine*ring_size, xchg_obj); in wide()
192 for (unsigned e = 0; e < nengine; e++) { in wide()
200 count += nengine; in wide()
202 for (unsigned e = 0; e < nengine; e++) in wide()
212 gem_close(fd, obj[nengine*ring_size].handle); in wide()
215 for (unsigned e = 0; e < nengine; e++) { in wide()