Lines Matching refs:ce
17 const struct intel_context *ce, in gen8_emit_rpcs_config() argument
27 offset = i915_ggtt_offset(ce->state) + in gen8_emit_rpcs_config()
41 gen8_modify_rpcs(struct intel_context *ce, const struct intel_sseu sseu) in gen8_modify_rpcs() argument
46 lockdep_assert_held(&ce->pin_mutex); in gen8_modify_rpcs()
54 if (!intel_context_pin_if_active(ce)) in gen8_modify_rpcs()
57 rq = intel_engine_create_kernel_request(ce->engine); in gen8_modify_rpcs()
64 ret = intel_context_prepare_remote_request(ce, rq); in gen8_modify_rpcs()
66 ret = gen8_emit_rpcs_config(rq, ce, sseu); in gen8_modify_rpcs()
70 intel_context_unpin(ce); in gen8_modify_rpcs()
75 intel_context_reconfigure_sseu(struct intel_context *ce, in intel_context_reconfigure_sseu() argument
80 GEM_BUG_ON(GRAPHICS_VER(ce->engine->i915) < 8); in intel_context_reconfigure_sseu()
82 ret = intel_context_lock_pinned(ce); in intel_context_reconfigure_sseu()
87 if (!memcmp(&ce->sseu, &sseu, sizeof(sseu))) in intel_context_reconfigure_sseu()
90 ret = gen8_modify_rpcs(ce, sseu); in intel_context_reconfigure_sseu()
92 ce->sseu = sseu; in intel_context_reconfigure_sseu()
95 intel_context_unlock_pinned(ce); in intel_context_reconfigure_sseu()