Lines Matching refs:shadow_ring_context
61 struct execlist_ring_context *shadow_ring_context; in update_shadow_pdps() local
70 shadow_ring_context = (struct execlist_ring_context *)ctx->lrc_reg_state; in update_shadow_pdps()
71 set_context_pdp_root_pointer(shadow_ring_context, in update_shadow_pdps()
128 struct execlist_ring_context *shadow_ring_context; in populate_shadow_context() local
144 shadow_ring_context = (void *) ctx->lrc_reg_state; in populate_shadow_context()
146 sr_oa_regs(workload, (u32 *)shadow_ring_context, true); in populate_shadow_context()
149 + RING_CTX_OFF(name.val), &shadow_ring_context->name.val, 4) in populate_shadow_context()
153 &shadow_ring_context->name.val, 4);\ in populate_shadow_context()
154 shadow_ring_context->name.val |= 0xffff << 16;\ in populate_shadow_context()
170 sizeof(*shadow_ring_context), in populate_shadow_context()
171 (void *)shadow_ring_context + in populate_shadow_context()
172 sizeof(*shadow_ring_context), in populate_shadow_context()
173 I915_GTT_PAGE_SIZE - sizeof(*shadow_ring_context)); in populate_shadow_context()
175 sr_oa_regs(workload, (u32 *)shadow_ring_context, false); in populate_shadow_context()
198 if (IS_RESTORE_INHIBIT(shadow_ring_context->ctx_ctrl.val) || skip) in populate_shadow_context()
564 struct execlist_ring_context *shadow_ring_context = in update_wa_ctx_2_shadow_ctx() local
567 shadow_ring_context->bb_per_ctx_ptr.val = in update_wa_ctx_2_shadow_ctx()
568 (shadow_ring_context->bb_per_ctx_ptr.val & in update_wa_ctx_2_shadow_ctx()
570 shadow_ring_context->rcs_indirect_ctx.val = in update_wa_ctx_2_shadow_ctx()
571 (shadow_ring_context->rcs_indirect_ctx.val & in update_wa_ctx_2_shadow_ctx()
891 struct execlist_ring_context *shadow_ring_context; in update_guest_context() local
970 shadow_ring_context = (void *) ctx->lrc_reg_state; in update_guest_context()
976 GEM_BUG_ON(!check_shadow_context_ppgtt(shadow_ring_context, m)); in update_guest_context()
983 RING_CTX_OFF(name.val), &shadow_ring_context->name.val, 4) in update_guest_context()
992 sizeof(*shadow_ring_context), in update_guest_context()
993 (void *)shadow_ring_context + in update_guest_context()
994 sizeof(*shadow_ring_context), in update_guest_context()
995 I915_GTT_PAGE_SIZE - sizeof(*shadow_ring_context)); in update_guest_context()