Lines Matching refs:RCS
342 if (lctx->legacy_hw_ctx.rcs_state && i == RCS) in i915_gem_context_reset()
363 if (WARN_ON(dev_priv->ring[RCS].default_context)) in i915_gem_context_init()
409 struct intel_context *dctx = dev_priv->ring[RCS].default_context; in i915_gem_context_fini()
424 WARN_ON(!dev_priv->ring[RCS].last_context); in i915_gem_context_fini()
425 if (dev_priv->ring[RCS].last_context == dctx) { in i915_gem_context_fini()
430 dev_priv->ring[RCS].last_context = NULL; in i915_gem_context_fini()
628 if (ring != &dev_priv->ring[RCS]) in needs_pd_load_pre()
646 if (ring != &dev_priv->ring[RCS]) in needs_pd_load_post()
665 if (from != NULL && ring == &dev_priv->ring[RCS]) { in do_switch()
674 if (ring == &dev_priv->ring[RCS]) { in do_switch()
702 if (ring != &dev_priv->ring[RCS]) { in do_switch()
810 if (ring->id == RCS) in do_switch()