Lines Matching refs:intel_context

136 static void i915_gem_context_clean(struct intel_context *ctx)  in i915_gem_context_clean()
153 struct intel_context *ctx = container_of(ctx_ref, typeof(*ctx), ref); in i915_gem_context_free()
205 static struct intel_context *
210 struct intel_context *ctx; in __create_hw_context()
261 static struct intel_context *
266 struct intel_context *ctx; in i915_gem_create_context()
323 struct intel_context *ctx; in i915_gem_context_reset()
334 struct intel_context *lctx = ring->last_context; in i915_gem_context_reset()
353 struct intel_context *ctx; in i915_gem_context_init()
404 struct intel_context *dctx = dev_priv->ring[RCS].default_context; in i915_gem_context_fini()
467 struct intel_context *ctx = p; in context_idr_cleanup()
476 struct intel_context *ctx; in i915_gem_context_open()
500 struct intel_context *
503 struct intel_context *ctx; in i915_gem_context_get()
505 ctx = (struct intel_context *)idr_find(&file_priv->context_idr, id); in i915_gem_context_get()
599 struct intel_context *from, in should_skip_switch()
600 struct intel_context *to) in should_skip_switch()
613 needs_pd_load_pre(struct intel_engine_cs *ring, struct intel_context *to) in needs_pd_load_pre()
630 needs_pd_load_post(struct intel_engine_cs *ring, struct intel_context *to, in needs_pd_load_post()
652 struct intel_context *to = req->ctx; in do_switch()
655 struct intel_context *from = ring->last_context; in do_switch()
854 struct intel_context *ctx; in i915_gem_context_create_ioctl()
880 struct intel_context *ctx; in i915_gem_context_destroy_ioctl()
909 struct intel_context *ctx; in i915_gem_context_getparam_ioctl()
944 struct intel_context *ctx; in i915_gem_context_setparam_ioctl()