Lines Matching full:engines
29 INIT_LIST_HEAD(&ctx->stale.engines); in mock_context()
37 RCU_INIT_POINTER(ctx->engines, e); in mock_context()
107 struct i915_gem_engines *engines; in live_context_for_engine() local
111 engines = alloc_engines(1); in live_context_for_engine()
112 if (!engines) in live_context_for_engine()
117 __free_engines(engines, 0); in live_context_for_engine()
123 __free_engines(engines, 0); in live_context_for_engine()
128 engines->engines[0] = ce; in live_context_for_engine()
129 engines->num_engines = 1; in live_context_for_engine()
133 engines = rcu_replace_pointer(ctx->engines, engines, 1); in live_context_for_engine()
136 engines_idle_release(ctx, engines); in live_context_for_engine()