Home
last modified time | relevance | path

Searched refs:nengine (Results 1 – 25 of 25) sorted by relevance

/external/igt-gpu-tools/tests/i915/
Dgem_exec_await.c77 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()
[all …]
Dgem_exec_nop.c225 unsigned engines[16], nengine, engine, flags; in poll_sequential() local
235 nengine = 0; in poll_sequential()
240 engines[nengine++] = engine; in poll_sequential()
242 igt_require(nengine); in poll_sequential()
323 execbuf.flags = engines[cycles % nengine] | flags; in poll_sequential()
434 unsigned nengine; in parallel() local
440 nengine = 0; in parallel()
442 engines[nengine] = engine; in parallel()
443 names[nengine] = e__->name; in parallel()
444 nengine++; in parallel()
[all …]
Di915_module_load.c116 unsigned engine, nengine; in store_all() local
152 nengine = 0; in store_all()
158 igt_assert(2*(nengine+1)*sizeof(batch) <= 4096); in store_all()
163 j = 2*nengine; in store_all()
167 reloc[j].delta = nengine*sizeof(uint32_t); in store_all()
178 j = 2*nengine + 1; in store_all()
182 reloc[j].delta = nengine*sizeof(uint32_t); in store_all()
187 batch[value] = nengine; in store_all()
193 engines[nengine++] = engine; in store_all()
197 for (i = 0; i < nengine; i++) { in store_all()
[all …]
Dgem_exec_create.c65 unsigned nengine; in all() local
68 nengine = 0; in all()
70 engines[nengine++] = engine; in all()
71 igt_require(nengine); in all()
99 for (int n = 0; n < nengine; n++) { in all()
111 count += nengine * 1024; in all()
116 for (int n = 0; n < nengine; n++) { in all()
127 child, nengine, count, 1e6*time); in all()
Dgem_exec_gttfill.c115 unsigned nengine; in fillgtt() local
123 nengine = 0; in fillgtt()
129 engines[nengine++] = engine; in fillgtt()
135 engines[nengine++] = ring; in fillgtt()
137 igt_require(nengine); in fillgtt()
146 count, (long long)size, nengine); in fillgtt()
173 igt_fork(child, nengine) { in fillgtt()
200 shared[nengine] = 0; in fillgtt()
201 for (unsigned i = 0; i < nengine; i++) in fillgtt()
202 shared[nengine] += shared[i]; in fillgtt()
[all …]
Dgem_exec_store.c188 unsigned nengine; in store_all() local
221 nengine = 0; in store_all()
227 igt_assert(2*(nengine+1)*sizeof(batch) <= 4096); in store_all()
232 j = 2*nengine; in store_all()
236 reloc[j].delta = nengine*sizeof(uint32_t); in store_all()
247 j = 2*nengine + 1; in store_all()
251 reloc[j].delta = nengine*sizeof(uint32_t); in store_all()
256 batch[value] = nengine; in store_all()
262 engines[nengine++] = engine->flags; in store_all()
266 for (i = 0; i < nengine; i++) { in store_all()
[all …]
Dgem_ring_sync_loop.c46 unsigned nengine; in sync_loop() local
50 nengine = 0; in sync_loop()
52 engines[nengine++] = engine; in sync_loop()
53 igt_require(nengine); in sync_loop()
84 execbuf.flags = engines[rand() % nengine]; in sync_loop()
Dgem_exec_reuse.c86 unsigned nengine; variable
120 nengine = 0;
123 engines[nengine++] = engine;
124 igt_require(nengine);
135 for (n = 0; n < nengine; n++)
146 for (n = 0; n < nengine; n++)
166 for (n = 0; n < nengine; n++) { in igt_until_timeout()
Dgem_exec_suspend.c97 unsigned nengine; in run_test() local
100 nengine = 0; in run_test()
111 engines[nengine++] = engine; in run_test()
116 engines[nengine++] = 0; in run_test()
121 engines[nengine++] = engine; in run_test()
123 igt_require(nengine); in run_test()
186 execbuf.flags |= engines[rand() % nengine]; in run_test()
Dgem_exec_whisper.c147 static void submit_hang(struct hang *h, unsigned *engines, int nengine, unsigned flags) in submit_hang() argument
149 while (nengine--) { in submit_hang()
183 unsigned nengine; in whisper() local
204 nengine = 0; in whisper()
208 engines[nengine++] = engine; in whisper()
214 engines[nengine++] = engine; in whisper()
216 igt_require(nengine); in whisper()
234 nchild *= nengine; in whisper()
242 engines[0] = engines[child % nengine]; in whisper()
243 nengine = 1; in whisper()
[all …]
Dgem_exec_latency.c467 unsigned int nengine; in rthog_latency_on_ring() local
474 nengine = 0; in rthog_latency_on_ring()
480 engines[nengine] = engine; in rthog_latency_on_ring()
481 names[nengine] = e__->name; in rthog_latency_on_ring()
482 nengine++; in rthog_latency_on_ring()
484 igt_require(nengine > 1); in rthog_latency_on_ring()
487 engines[nengine] = engine; in rthog_latency_on_ring()
488 names[nengine] = name; in rthog_latency_on_ring()
489 nengine++; in rthog_latency_on_ring()
494 igt_fork(child, nengine) { in rthog_latency_on_ring()
[all …]
Dgem_exec_parallel.c159 unsigned nengine; in all() local
172 nengine = 0; in all()
177 engines[nengine++] = e->flags; in all()
181 engines[nengine++] = engine->flags; in all()
183 igt_require(nengine); in all()
203 threads[i].engine = engines[i % nengine]; in all()
Dgem_shrink.c39 static unsigned int engines[16], nengine; variable
186 execbuf.flags = engines[j % nengine]; in execbufX()
453 nengine = 0;
455 engines[nengine++] = engine;
456 igt_require(nengine);
Dgem_busy.c308 unsigned int engines[16], nengine; in close_race() local
321 nengine = 0; in close_race()
323 engines[nengine++] = i; in close_race()
324 igt_require(nengine); in close_race()
370 .engine = engines[rand() % nengine]); in close_race()
378 .engine = engines[rand() % nengine]); in close_race()
Dgem_ctx_create.c132 unsigned int nengine, engines[16]; in active() local
137 nengine = all_nengine; in active()
138 memcpy(engines, all_engines, sizeof(engines[0])*nengine); in active()
141 nengine = 1; in active()
187 for (unsigned n = 0; n < nengine; n++) { in active()
Dgem_exec_reloc.c256 unsigned nengine; in active() local
259 nengine = 0; in active()
263 engines[nengine++] = engine; in active()
268 engines[nengine++] = engine; in active()
270 igt_require(nengine); in active()
316 execbuf.flags |= engines[rand() % nengine]; in active()
Dgem_ctx_shared.c732 unsigned nengine; in smoketest() local
737 nengine = 0; in smoketest()
739 engines[nengine++] = engine; in smoketest()
740 igt_require(nengine); in smoketest()
756 engine = engines[hars_petruska_f54_1_random_unsafe_max(nengine)]; in smoketest()
Dgem_exec_fence.c666 unsigned int nengine, n, s; in test_long_history() local
675 nengine = 0; in test_long_history()
677 engines[nengine++] = engine; in test_long_history()
678 igt_require(nengine); in test_long_history()
702 for (n = 0; n < nengine; n++) { in test_long_history()
738 for (n = 0; n < nengine; n++) { in test_long_history()
Dgem_exec_schedule.c282 unsigned nengine; in smoketest() local
287 nengine = 0; in smoketest()
291 engines[nengine++] = engine; in smoketest()
294 engines[nengine++] = ring; in smoketest()
296 igt_require(nengine); in smoketest()
312 engine = engines[hars_petruska_f54_1_random_unsafe_max(nengine)]; in smoketest()
/external/igt-gpu-tools/benchmarks/
Dgem_exec_fault.c77 unsigned nengine; in loop() local
100 nengine = 0; in loop()
106 engines[nengine++] = ring; in loop()
109 engines[nengine++] = ring; in loop()
128 execbuf.flags |= engines[count++ % nengine]; in loop()
Dgem_exec_nop.c81 unsigned nengine; in loop() local
118 nengine = all_nengine; in loop()
121 nengine = 1; in loop()
152 execbuf.flags |= engines[count++ % nengine]; in loop()
175 for (int n = 0; n < nengine; n++) { in loop()
Dgem_syslatency.c102 unsigned nengine; in gem_busyspin() local
108 nengine = 0; in gem_busyspin()
110 if (!ignore_engine(fd, engine)) engines[nengine++] = engine; in gem_busyspin()
134 for (int n = 0; n < nengine; n++) { in gem_busyspin()
135 const int m = rand() % nengine; in gem_busyspin()
140 for (int n = 0; n < nengine; n++) { in gem_busyspin()
145 bs->count += nengine; in gem_busyspin()
Dgem_busy.c172 unsigned nengine; in loop() local
217 nengine = 0; in loop()
222 engines[nengine++] = ring; in loop()
225 nengine = 1; in loop()
279 for (int n = 0; n < nengine; n++) { in loop()
/external/igt-gpu-tools/tests/amdgpu/
Damd_prime.c177 unsigned int nengine; in i915_to_amd() local
181 nengine = 0; in i915_to_amd()
183 engines[nengine++] = engine; in i915_to_amd()
184 igt_require(nengine); in i915_to_amd()
201 for (unsigned n = 0; n < nengine; n++) { in i915_to_amd()
213 igt_info("Reservation width = %ldx%d\n", count, nengine); in i915_to_amd()
/external/igt-gpu-tools/lib/
Digt_dummyload.c82 unsigned int nengine; in emit_recursive_batch() local
87 nengine = 0; in emit_recursive_batch()
96 flags[nengine++] = engine->flags; in emit_recursive_batch()
99 flags[nengine++] = opts->engine; in emit_recursive_batch()
101 igt_require(nengine); in emit_recursive_batch()
239 for (i = 0; i < nengine; i++) { in emit_recursive_batch()