Lines Matching refs:shadow_ring_context

62 	struct execlist_ring_context *shadow_ring_context;  in update_shadow_pdps()  local
72 shadow_ring_context = kmap(page); in update_shadow_pdps()
73 set_context_pdp_root_pointer(shadow_ring_context, in update_shadow_pdps()
133 struct execlist_ring_context *shadow_ring_context; in populate_shadow_context() local
140 shadow_ring_context = kmap(page); in populate_shadow_context()
142 sr_oa_regs(workload, (u32 *)shadow_ring_context, true); in populate_shadow_context()
145 + RING_CTX_OFF(name.val), &shadow_ring_context->name.val, 4) in populate_shadow_context()
149 &shadow_ring_context->name.val, 4);\ in populate_shadow_context()
150 shadow_ring_context->name.val |= 0xffff << 16;\ in populate_shadow_context()
166 sizeof(*shadow_ring_context), in populate_shadow_context()
167 (void *)shadow_ring_context + in populate_shadow_context()
168 sizeof(*shadow_ring_context), in populate_shadow_context()
169 I915_GTT_PAGE_SIZE - sizeof(*shadow_ring_context)); in populate_shadow_context()
171 sr_oa_regs(workload, (u32 *)shadow_ring_context, false); in populate_shadow_context()
174 if (IS_RESTORE_INHIBIT(shadow_ring_context->ctx_ctrl.val)) in populate_shadow_context()
531 struct execlist_ring_context *shadow_ring_context = in update_wa_ctx_2_shadow_ctx() local
534 shadow_ring_context->bb_per_ctx_ptr.val = in update_wa_ctx_2_shadow_ctx()
535 (shadow_ring_context->bb_per_ctx_ptr.val & in update_wa_ctx_2_shadow_ctx()
537 shadow_ring_context->rcs_indirect_ctx.val = in update_wa_ctx_2_shadow_ctx()
538 (shadow_ring_context->rcs_indirect_ctx.val & in update_wa_ctx_2_shadow_ctx()
800 struct execlist_ring_context *shadow_ring_context; in update_guest_context() local
859 shadow_ring_context = kmap(page); in update_guest_context()
863 RING_CTX_OFF(name.val), &shadow_ring_context->name.val, 4) in update_guest_context()
872 sizeof(*shadow_ring_context), in update_guest_context()
873 (void *)shadow_ring_context + in update_guest_context()
874 sizeof(*shadow_ring_context), in update_guest_context()
875 I915_GTT_PAGE_SIZE - sizeof(*shadow_ring_context)); in update_guest_context()