/external/igt-gpu-tools/tests/i915/ |
D | gem_ctx_engines.c | 44 #define engine_class(e, n) ((e)->engines[(n)].engine_class) 45 #define engine_instance(e, n) ((e)->engines[(n)].engine_instance) 58 struct i915_context_param_engines stack = {}, *engines; in invalid_engines() local 87 engines = ptr + 4096; in invalid_engines() 90 param.size = sizeof(*engines) + sizeof(*engines->engines); in invalid_engines() 91 param.value = to_user_pointer(engines); in invalid_engines() 93 engines->engines[0].engine_class = -1; in invalid_engines() 96 mprotect(engines, 4096, PROT_READ); in invalid_engines() 99 mprotect(engines, 4096, PROT_WRITE); in invalid_engines() 100 engines->engines[0].engine_class = 0; in invalid_engines() [all …]
|
D | i915_query.c | 497 struct drm_i915_query_engine_info *engines; in engines_invalid() local 522 engines = malloc(len); in engines_invalid() 523 igt_assert(engines); in engines_invalid() 534 memset(engines, 0, len); in engines_invalid() 535 engines->num_engines = 1; in engines_invalid() 539 item.data_ptr = to_user_pointer(engines); in engines_invalid() 543 memset(engines, 0, len); in engines_invalid() 544 engines->rsvd[0] = 1; in engines_invalid() 548 item.data_ptr = to_user_pointer(engines); in engines_invalid() 552 memset(engines, 0, len); in engines_invalid() [all …]
|
D | gem_exec_balancer.c | 38 engines[count]); in sizeof_load_balance() 44 engines[count]); in sizeof_param_engines() 50 engines[count]); in sizeof_engines_bond() 72 struct i915_engine_class_instance *engines; in list_engines() local 74 engines = malloc(size * sizeof(*engines)); in list_engines() 75 igt_assert(engines); in list_engines() 91 engines = realloc(engines, in list_engines() 92 size * sizeof(*engines)); in list_engines() 93 igt_assert(engines); in list_engines() 96 engines[count++] = (struct i915_engine_class_instance){ in list_engines() [all …]
|
D | gem_sync.c | 84 unsigned engines[16]; in sync_ring() local 91 engines[num_engines++] = ring; in sync_ring() 92 if (num_engines == ARRAY_SIZE(engines)) in sync_ring() 100 engines[num_engines++] = ring; in sync_ring() 118 execbuf.flags = engines[child % num_engines]; in sync_ring() 183 unsigned engines[16]; in wakeup_ring() local 193 engines[num_engines++] = ring; in wakeup_ring() 194 if (num_engines == ARRAY_SIZE(engines)) in wakeup_ring() 202 engines[num_engines++] = ring; in wakeup_ring() 221 execbuf.flags = engines[child % num_engines]; in wakeup_ring() [all …]
|
D | gem_ctx_clone.c | 174 I915_DEFINE_CONTEXT_PARAM_ENGINES(engines, 64); in clone_engines() 178 memset(&engines, 0, sizeof(engines)); in clone_engines() 194 set.param.size = sizeof(engines); in clone_engines() 195 set.param.value = to_user_pointer(&engines); in clone_engines() 200 igt_assert(!memcmp(&engines, &expected, ex_size)); in clone_engines() 205 expected.engines[0].engine_class = in clone_engines() 207 expected.engines[0].engine_instance = in clone_engines() 210 sizeof(expected.engines[0])); in clone_engines() 220 set.param.size = sizeof(engines); in clone_engines() 221 set.param.value = to_user_pointer(&engines); in clone_engines() [all …]
|
D | gem_ctx_switch.c | 58 const struct intel_engine_data *engines, in measure_qlen() argument 71 for (unsigned int n = 0; n < engines->nengines; n++) { in measure_qlen() 76 execbuf->flags |= engines->engines[n].flags; in measure_qlen() 231 struct intel_engine_data engines = { }; in all() local 235 engines = intel_init_engine_list(fd, 0); in all() 236 igt_require(engines.nengines); in all() 259 qlen = measure_qlen(fd, &execbuf, &engines, timeout); in all() 267 igt_fork(child, engines.nengines) { in all() 272 execbuf.flags |= engines.engines[child].flags; in all() 298 engines.engines[child].name, count, in all()
|
D | i915_module_load.c | 113 unsigned engines[16], permuted[16]; in store_all() local 193 engines[nengine++] = engine; in store_all() 200 memcpy(permuted, engines, nengine*sizeof(engines[0])); in store_all() 210 execbuf.flags |= engines[i]; in store_all() 215 gem_read(fd, obj[0].handle, 0, engines, sizeof(engines)); in store_all() 219 igt_assert_eq_u32(engines[i], i); in store_all()
|
D | gem_ctx_thrash.c | 93 unsigned int engines[16], num_engines, num_ctx; in single() local 112 engines[num_engines++] = engine; in single() 113 if (num_engines == ARRAY_SIZE(engines)) in single() 118 engines[num_engines++] = 0; in single() 172 .flags = engines[n % num_engines], in single() 223 unsigned engines[16], engine; in processes() local 234 engines[num_engines++] = engine; in processes() 235 if (num_engines == ARRAY_SIZE(engines)) in processes() 283 execbuf.flags = engines[n % num_engines]; in processes()
|
D | gem_exec_nop.c | 225 unsigned engines[16], nengine, engine, flags; in poll_sequential() local 240 engines[nengine++] = engine; in poll_sequential() 323 execbuf.flags = engines[cycles % nengine] | flags; in poll_sequential() 432 unsigned engines[16]; in parallel() local 442 engines[nengine] = engine; in parallel() 471 execbuf.flags |= engines[child]; in parallel() 495 unsigned engines[16]; in series() local 512 engines[nengine++] = engine; in series() 538 execbuf.flags |= engines[n]; in series() 585 unsigned engines[16]; in sequential() local [all …]
|
D | gem_exec_reuse.c | 85 unsigned engines[16]; variable 123 engines[nengine++] = engine; 136 noop(&no, engines[n], 0, 0, age++); 147 noop(&no, engines[n], 0, 167 noop(&no, engines[n], in igt_until_timeout()
|
D | gem_exec_create.c | 64 unsigned engines[16]; in all() local 70 engines[nengine++] = engine; in all() 103 execbuf.flags |= engines[n]; in all() 118 execbuf.flags |= engines[n]; in all()
|
D | gem_exec_store.c | 185 unsigned engines[16], permuted[16]; in store_all() local 262 engines[nengine++] = engine->flags; in store_all() 269 memcpy(permuted, engines, nengine*sizeof(engines[0])); in store_all() 279 execbuf.flags |= engines[i]; in store_all() 284 gem_read(fd, obj[0].handle, 0, engines, sizeof(engines)); in store_all() 288 igt_assert_eq_u32(engines[i], i); in store_all()
|
D | gem_ring_sync_loop.c | 45 unsigned engines[16]; in sync_loop() local 52 engines[nengine++] = engine; in sync_loop() 84 execbuf.flags = engines[rand() % nengine]; in sync_loop()
|
D | gem_exec_suspend.c | 96 unsigned engines[16]; in run_test() local 111 engines[nengine++] = engine; in run_test() 116 engines[nengine++] = 0; in run_test() 121 engines[nengine++] = engine; in run_test() 186 execbuf.flags |= engines[rand() % nengine]; in run_test()
|
/external/igt-gpu-tools/tools/ |
D | intel_gpu_top.c | 72 struct engines { struct 126 #define engine_ptr(engines, n) (&engines->engine + (n)) argument 171 static struct engines *discover_engines(void) in discover_engines() 174 struct engines *engines; in discover_engines() local 179 engines = malloc(sizeof(struct engines)); in discover_engines() 180 if (!engines) in discover_engines() 183 memset(engines, 0, sizeof(*engines)); in discover_engines() 185 engines->num_engines = 0; in discover_engines() 195 engine_ptr(engines, engines->num_engines); in discover_engines() 254 engines->num_engines++; in discover_engines() [all …]
|
/external/igt-gpu-tools/lib/i915/ |
D | gem_engine_topology.c | 34 engines[GEM_MAX_ENGINES]) 36 engines[GEM_MAX_ENGINES]) 83 struct i915_context_param_engines *engines = in ctx_map_engines() local 87 for (typeof(engines->engines[0]) *p = in ctx_map_engines() 88 &engines->engines[0]; in ctx_map_engines() 90 p->engine_class = ed->engines[i].class; in ctx_map_engines() 91 p->engine_instance = ed->engines[i].instance; in ctx_map_engines() 94 param->size = offsetof(typeof(*engines), engines[i]); in ctx_map_engines() 95 engines->extensions = 0; in ctx_map_engines() 145 init_engine(&ed->engines[i], in query_engine_list() [all …]
|
/external/igt-gpu-tools/scripts/ |
D | media-bench.pl | 192 my %engines; 222 $engines{$1} = $3; 227 $engines{'gpu'} = $1; 247 return \%engines; 673 my $engines; 693 $engines = trace_workload($wrk, $balancer, $r, $c); 695 foreach my $key (keys %{$engines}) { 698 if $engines->{$key} < $idle_tolerance_pct; 704 } elsif (not exists $engines->{'2:0'} or not exists $engines->{$vcs2}) { 708 ($engines->{'2:0'} < $idle_tolerance_pct or [all …]
|
/external/perfetto/ui/src/frontend/ |
D | sidebar.ts | 118 engineId: Object.keys(globals.state.engines)[0], 290 const engine = Object.values(globals.state.engines)[0]; 324 const engine = Object.values(globals.state.engines)[0]; 480 const engine = assertExists(Object.values(globals.state.engines)[0]); 520 const engine = Object.values(globals.state.engines)[0]; 562 const engines = Object.values(globals.state.engines); 563 assertTrue(engines.length <= 1); 564 for (const engine of engines) { 744 const engines = Object.values(globals.state.engines); constant 745 if (engines.length === 1) { [all …]
|
/external/mesa3d/src/intel/genxml/ |
D | gen_bits_header.py | 269 engines = set(attrs['engine'].split('|')) 270 if not engines & self.engines: 330 engines = pargs.engines.split(',') 332 if set(engines) - set(valid_engines): 343 p.engines = set(engines)
|
/external/igt-gpu-tools/benchmarks/ |
D | gem_exec_nop.c | 80 unsigned engines[16]; in loop() local 119 memcpy(engines, all_engines, all_nengine*sizeof(engines[0])); in loop() 122 engines[0] = ring; in loop() 152 execbuf.flags |= engines[count++ % nengine]; in loop() 177 execbuf.flags |= engines[n]; in loop()
|
D | gem_exec_fault.c | 76 unsigned engines[16]; in loop() local 106 engines[nengine++] = ring; in loop() 109 engines[nengine++] = ring; in loop() 128 execbuf.flags |= engines[count++ % nengine]; in loop()
|
/external/curl/src/ |
D | tool_help.c | 984 struct curl_slist *engines = NULL; in tool_list_engines() local 987 curl_easy_getinfo(curl, CURLINFO_SSL_ENGINES, &engines); in tool_list_engines() 990 if(engines) { in tool_list_engines() 991 for(; engines; engines = engines->next) in tool_list_engines() 992 printf(" %s\n", engines->data); in tool_list_engines() 999 curl_slist_free_all(engines); in tool_list_engines()
|
/external/perfetto/ui/src/controller/ |
D | permalink_controller.ts | 83 for (const cfg of Object.values(state.engines)) { 85 .engines[cfg.id] = {id: cfg.id, ready: false, source: cfg.source}; 108 const engine = assertExists(Object.values(globals.state.engines)[0]); 125 draft.engines[engine.id].source = {type: 'URL', url};
|
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/ |
D | TestSSLEnginePair.java | 68 SSLEngine[] engines = connect(c, hooks, finished); in create() local 69 return new TestSSLEnginePair(c, engines[0], engines[1]); in create() 144 public static void close(SSLEngine[] engines) { in close() argument 146 for (SSLEngine engine : engines) { in close()
|
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/ |
D | TestSSLEnginePair.java | 66 SSLEngine[] engines = connect(c, hooks, finished); in create() local 67 return new TestSSLEnginePair(c, engines[0], engines[1]); in create() 145 public static void close(SSLEngine[] engines) { in close() argument 147 for (SSLEngine engine : engines) { in close()
|