Lines Matching refs:nengines

1192 	const unsigned int nengines = num_uabi_engines(i915);  in live_all_engines()  local
1205 request = kcalloc(nengines, sizeof(*request), GFP_KERNEL); in live_all_engines()
1320 const unsigned int nengines = num_uabi_engines(i915); in live_sequential_engines() local
1335 request = kcalloc(nengines, sizeof(*request), GFP_KERNEL); in live_sequential_engines()
1617 const unsigned int nengines = num_uabi_engines(i915); in live_parallel_engines() local
1628 threads = kcalloc(nengines, sizeof(*threads), GFP_KERNEL); in live_parallel_engines()
1642 atomic_set(&i915->selftest.counter, nengines); in live_parallel_engines()
1727 const unsigned int nengines = num_uabi_engines(i915); in live_breadcrumbs_smoketest() local
1729 max_t(int, 2, DIV_ROUND_UP(num_online_cpus(), nengines)); in live_breadcrumbs_smoketest()
1756 smoke = kcalloc(nengines, sizeof(*smoke), GFP_KERNEL); in live_breadcrumbs_smoketest()
1762 threads = kcalloc(ncpus * nengines, sizeof(*threads), GFP_KERNEL); in live_breadcrumbs_smoketest()
1926 unsigned int nengines; member
1927 struct intel_context *ce[] __counted_by(nengines);
2737 GEM_BUG_ON(!ps->nengines); in s_sync0()
2756 if (++idx == ps->nengines) in s_sync0()
2771 GEM_BUG_ON(!ps->nengines); in s_sync1()
2791 if (++idx == ps->nengines) in s_sync1()
2805 GEM_BUG_ON(!ps->nengines); in s_many()
2815 if (++idx == ps->nengines) in s_many()
2831 const unsigned int nengines = num_uabi_engines(i915); in perf_series_engines() local
2840 stats = kcalloc(nengines, sizeof(*stats), GFP_KERNEL); in perf_series_engines()
2844 ps = kzalloc(struct_size(ps, ce, nengines), GFP_KERNEL); in perf_series_engines()
2853 ps->nengines = nengines; in perf_series_engines()
2873 GEM_BUG_ON(idx != ps->nengines); in perf_series_engines()
2884 for (idx = 0; idx < nengines; idx++) { in perf_series_engines()
2904 for (idx = 0; idx < nengines; idx++) { in perf_series_engines()
2942 for (idx = 0; idx < nengines; idx++) { in perf_series_engines()
3189 const unsigned int nengines = num_uabi_engines(i915); in perf_parallel_engines() local
3196 engines = kcalloc(nengines, sizeof(*engines), GFP_KERNEL); in perf_parallel_engines()
3212 atomic_set(&i915->selftest.counter, nengines); in perf_parallel_engines()