Lines Matching refs:shadow_ring_context
65 struct execlist_ring_context *shadow_ring_context; in update_shadow_pdps() local
74 shadow_ring_context = (struct execlist_ring_context *)ctx->lrc_reg_state; in update_shadow_pdps()
75 set_context_pdp_root_pointer(shadow_ring_context, in update_shadow_pdps()
132 struct execlist_ring_context *shadow_ring_context; in populate_shadow_context() local
149 shadow_ring_context = (void *) ctx->lrc_reg_state; in populate_shadow_context()
151 sr_oa_regs(workload, (u32 *)shadow_ring_context, true); in populate_shadow_context()
154 + RING_CTX_OFF(name.val), &shadow_ring_context->name.val, 4) in populate_shadow_context()
158 &shadow_ring_context->name.val, 4);\ in populate_shadow_context()
159 shadow_ring_context->name.val |= 0xffff << 16;\ in populate_shadow_context()
173 (void *)shadow_ring_context + in populate_shadow_context()
184 (void *)shadow_ring_context + in populate_shadow_context()
188 sr_oa_regs(workload, (u32 *)shadow_ring_context, false); in populate_shadow_context()
211 if (IS_RESTORE_INHIBIT(shadow_ring_context->ctx_ctrl.val) || skip) in populate_shadow_context()
595 struct execlist_ring_context *shadow_ring_context = in update_wa_ctx_2_shadow_ctx() local
598 shadow_ring_context->bb_per_ctx_ptr.val = in update_wa_ctx_2_shadow_ctx()
599 (shadow_ring_context->bb_per_ctx_ptr.val & in update_wa_ctx_2_shadow_ctx()
601 shadow_ring_context->rcs_indirect_ctx.val = in update_wa_ctx_2_shadow_ctx()
602 (shadow_ring_context->rcs_indirect_ctx.val & in update_wa_ctx_2_shadow_ctx()
940 struct execlist_ring_context *shadow_ring_context; in update_guest_context() local
1019 shadow_ring_context = (void *) ctx->lrc_reg_state; in update_guest_context()
1025 GEM_BUG_ON(!check_shadow_context_ppgtt(shadow_ring_context, m)); in update_guest_context()
1032 RING_CTX_OFF(name.val), &shadow_ring_context->name.val, 4) in update_guest_context()
1041 sizeof(*shadow_ring_context), in update_guest_context()
1042 (void *)shadow_ring_context + in update_guest_context()
1043 sizeof(*shadow_ring_context), in update_guest_context()
1044 I915_GTT_PAGE_SIZE - sizeof(*shadow_ring_context)); in update_guest_context()