Lines Matching refs:num_engines
64 static unsigned get_num_contexts(int fd, int num_engines) in get_num_contexts() argument
76 if (num_engines) /* one per engine with execlists */ in get_num_contexts()
77 size *= num_engines; in get_num_contexts()
93 unsigned int engines[16], num_engines, num_ctx; in single() local
104 num_engines = 0; in single()
112 engines[num_engines++] = engine; in single()
113 if (num_engines == ARRAY_SIZE(engines)) in single()
118 engines[num_engines++] = 0; in single()
120 igt_require(num_engines); in single()
122 num_ctx = get_num_contexts(fd, num_engines); in single()
172 .flags = engines[n % num_engines], in single()
224 int num_engines; in processes() local
232 num_engines = 0; in processes()
234 engines[num_engines++] = engine; in processes()
235 if (num_engines == ARRAY_SIZE(engines)) in processes()
239 num_ctx = get_num_contexts(fd, num_engines); in processes()
283 execbuf.flags = engines[n % num_engines]; in processes()