Lines Matching refs:shadow_ring_context
63 struct execlist_ring_context *shadow_ring_context; in update_shadow_pdps() local
72 shadow_ring_context = (struct execlist_ring_context *)ctx->lrc_reg_state; in update_shadow_pdps()
73 set_context_pdp_root_pointer(shadow_ring_context, in update_shadow_pdps()
130 struct execlist_ring_context *shadow_ring_context; in populate_shadow_context() local
147 shadow_ring_context = (void *) ctx->lrc_reg_state; in populate_shadow_context()
149 sr_oa_regs(workload, (u32 *)shadow_ring_context, true); in populate_shadow_context()
152 + RING_CTX_OFF(name.val), &shadow_ring_context->name.val, 4) in populate_shadow_context()
156 &shadow_ring_context->name.val, 4);\ in populate_shadow_context()
157 shadow_ring_context->name.val |= 0xffff << 16;\ in populate_shadow_context()
171 (void *)shadow_ring_context + in populate_shadow_context()
182 (void *)shadow_ring_context + in populate_shadow_context()
186 sr_oa_regs(workload, (u32 *)shadow_ring_context, false); in populate_shadow_context()
209 if (IS_RESTORE_INHIBIT(shadow_ring_context->ctx_ctrl.val) || skip) in populate_shadow_context()
594 struct execlist_ring_context *shadow_ring_context = in update_wa_ctx_2_shadow_ctx() local
597 shadow_ring_context->bb_per_ctx_ptr.val = in update_wa_ctx_2_shadow_ctx()
598 (shadow_ring_context->bb_per_ctx_ptr.val & in update_wa_ctx_2_shadow_ctx()
600 shadow_ring_context->rcs_indirect_ctx.val = in update_wa_ctx_2_shadow_ctx()
601 (shadow_ring_context->rcs_indirect_ctx.val & in update_wa_ctx_2_shadow_ctx()
938 struct execlist_ring_context *shadow_ring_context; in update_guest_context() local
1017 shadow_ring_context = (void *) ctx->lrc_reg_state; in update_guest_context()
1023 GEM_BUG_ON(!check_shadow_context_ppgtt(shadow_ring_context, m)); in update_guest_context()
1030 RING_CTX_OFF(name.val), &shadow_ring_context->name.val, 4) in update_guest_context()
1039 sizeof(*shadow_ring_context), in update_guest_context()
1040 (void *)shadow_ring_context + in update_guest_context()
1041 sizeof(*shadow_ring_context), in update_guest_context()
1042 I915_GTT_PAGE_SIZE - sizeof(*shadow_ring_context)); in update_guest_context()