Lines Matching refs:intel_context
138 struct intel_context *ctx = container_of(ctx_ref, in i915_gem_context_free()
184 static struct intel_context *
189 struct intel_context *ctx; in __create_hw_context()
239 static struct intel_context *
244 struct intel_context *ctx; in i915_gem_create_context()
300 struct intel_context *ctx; in i915_gem_context_reset()
311 struct intel_context *lctx = ring->last_context; in i915_gem_context_reset()
330 struct intel_context *ctx; in i915_gem_context_init()
374 struct intel_context *dctx = dev_priv->ring[RCS].default_context; in i915_gem_context_fini()
446 struct intel_context *ctx = p; in context_idr_cleanup()
455 struct intel_context *ctx; in i915_gem_context_open()
479 struct intel_context *
482 struct intel_context *ctx; in i915_gem_context_get()
484 ctx = (struct intel_context *)idr_find(&file_priv->context_idr, id); in i915_gem_context_get()
493 struct intel_context *new_context, in mi_set_context()
577 struct intel_context *from, in should_skip_switch()
578 struct intel_context *to) in should_skip_switch()
599 needs_pd_load_pre(struct intel_engine_cs *ring, struct intel_context *to) in needs_pd_load_pre()
616 needs_pd_load_post(struct intel_engine_cs *ring, struct intel_context *to, in needs_pd_load_post()
637 struct intel_context *to) in do_switch()
640 struct intel_context *from = ring->last_context; in do_switch()
821 struct intel_context *to) in i915_switch_context()
851 struct intel_context *ctx; in i915_gem_context_create_ioctl()
877 struct intel_context *ctx; in i915_gem_context_destroy_ioctl()
906 struct intel_context *ctx; in i915_gem_context_getparam_ioctl()
938 struct intel_context *ctx; in i915_gem_context_setparam_ioctl()