Searched refs:smoke (Results 1 – 2 of 2) sorted by relevance
/drivers/gpu/drm/i915/gt/ |
D | selftest_execlists.c | 3480 static struct i915_gem_context *smoke_context(struct preempt_smoke *smoke) in smoke_context() argument 3482 return smoke->contexts[i915_prandom_u32_max_state(smoke->ncontext, in smoke_context() 3483 &smoke->prng)]; in smoke_context() 3486 static int smoke_submit(struct preempt_smoke *smoke, in smoke_submit() argument 3510 rq = igt_request_alloc(ctx, smoke->engine); in smoke_submit() 3535 struct preempt_smoke *smoke = container_of(work, typeof(*smoke), work); in smoke_crescendo_work() local 3541 struct i915_gem_context *ctx = smoke_context(smoke); in smoke_crescendo_work() 3543 smoke->result = smoke_submit(smoke, ctx, in smoke_crescendo_work() 3545 smoke->batch); in smoke_crescendo_work() 3548 } while (!smoke->result && count < smoke->ncontext && in smoke_crescendo_work() [all …]
|
/drivers/gpu/drm/i915/selftests/ |
D | i915_request.c | 1735 struct smoketest *smoke; in live_breadcrumbs_smoketest() local 1756 smoke = kcalloc(nengines, sizeof(*smoke), GFP_KERNEL); in live_breadcrumbs_smoketest() 1757 if (!smoke) { in live_breadcrumbs_smoketest() 1768 smoke[0].request_alloc = __live_request_alloc; in live_breadcrumbs_smoketest() 1769 smoke[0].ncontexts = 64; in live_breadcrumbs_smoketest() 1770 smoke[0].contexts = kcalloc(smoke[0].ncontexts, in live_breadcrumbs_smoketest() 1771 sizeof(*smoke[0].contexts), in live_breadcrumbs_smoketest() 1773 if (!smoke[0].contexts) { in live_breadcrumbs_smoketest() 1778 for (n = 0; n < smoke[0].ncontexts; n++) { in live_breadcrumbs_smoketest() 1779 smoke[0].contexts[n] = live_context(i915, file); in live_breadcrumbs_smoketest() [all …]
|