Lines Matching refs:contexts
121 uint32_t contexts[64]; in single() local
133 contexts[n] = gem_queue_create(fd); in single()
135 contexts[n] = gem_context_create(fd); in single()
138 gem_context_set_all_engines(fd, contexts[n]); in single()
158 execbuf.rsvd1 = contexts[0]; in single()
175 for (int i = 0; i < ARRAY_SIZE(contexts); i++) { in single()
176 execbuf.rsvd1 = contexts[i]; in single()
185 execbuf.rsvd1 = contexts[loop % 64]; in single()
222 gem_context_destroy(fd, contexts[n]); in single()
232 uint32_t contexts[65]; in all() local
238 for (n = 0; n < ARRAY_SIZE(contexts); n++) { in all()
240 contexts[n] = gem_queue_create(fd); in all()
242 contexts[n] = gem_context_create(fd); in all()
244 gem_context_set_all_engines(fd, contexts[n]); in all()
253 execbuf.rsvd1 = contexts[0]; in all()
274 loop < ARRAY_SIZE(contexts); in all()
276 execbuf.rsvd1 = contexts[loop]; in all()
285 contexts[loop % nctx]; in all()
308 for (n = 0; n < ARRAY_SIZE(contexts); n++) in all()
309 gem_context_destroy(fd, contexts[n]); in all()