Home
last modified time | relevance | path

Searched refs:ncontexts (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_context.c676 unsigned long ncontexts, ndwords, dw; in igt_ctx_exec() local
697 ncontexts = 0; in igt_ctx_exec()
748 ncontexts++; in igt_ctx_exec()
755 ncontexts, engine->name, ndwords); in igt_ctx_exec()
757 ncontexts = dw = 0; in igt_ctx_exec()
762 err = cpu_check(obj, ncontexts++, rem); in igt_ctx_exec()
822 unsigned long ncontexts, ndwords, dw; in igt_shared_ctx_exec() local
832 ncontexts = 0; in igt_shared_ctx_exec()
882 ncontexts++; in igt_shared_ctx_exec()
888 ncontexts, engine->name, ndwords); in igt_shared_ctx_exec()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/selftests/
H A Di915_request.c286 int ncontexts, max_batch; member
314 const unsigned int max_batch = min(t->ncontexts, t->max_batch) - 1; in __igt_breadcrumbs_smoketest()
315 const unsigned int total = 4 * t->ncontexts + 1; in __igt_breadcrumbs_smoketest()
366 t->contexts[order[n] % t->ncontexts]; in __igt_breadcrumbs_smoketest()
459 .ncontexts = 1024, in mock_breadcrumbs_smoketest()
478 t.contexts = kcalloc(t.ncontexts, sizeof(*t.contexts), GFP_KERNEL); in mock_breadcrumbs_smoketest()
484 for (n = 0; n < t.ncontexts; n++) { in mock_breadcrumbs_smoketest()
531 for (n = 0; n < t.ncontexts; n++) { in mock_breadcrumbs_smoketest()
1769 smoke[0].ncontexts = 64; in live_breadcrumbs_smoketest()
1770 smoke[0].contexts = kcalloc(smoke[0].ncontexts, in live_breadcrumbs_smoketest()
[all …]