Searched refs:indirect_ctx (Results 1 – 5 of 5) sorted by relevance
354 if (!wa_ctx->indirect_ctx.obj) in release_shadow_wa_ctx()357 i915_gem_object_unpin_map(wa_ctx->indirect_ctx.obj); in release_shadow_wa_ctx()358 i915_gem_object_put(wa_ctx->indirect_ctx.obj); in release_shadow_wa_ctx()360 wa_ctx->indirect_ctx.obj = NULL; in release_shadow_wa_ctx()361 wa_ctx->indirect_ctx.shadow_va = NULL; in release_shadow_wa_ctx()434 if (workload->ring_id == RCS0 && workload->wa_ctx.indirect_ctx.size) { in intel_gvt_scan_and_shadow_workload()539 (~INDIRECT_CTX_ADDR_MASK)) | wa_ctx->indirect_ctx.shadow_gma; in update_wa_ctx_2_shadow_ctx()546 (unsigned char *)wa_ctx->indirect_ctx.shadow_va + in prepare_shadow_wa_ctx()547 wa_ctx->indirect_ctx.size; in prepare_shadow_wa_ctx()549 if (wa_ctx->indirect_ctx.size == 0) in prepare_shadow_wa_ctx()[all …]
2817 if (WARN_ON(!IS_ALIGNED(wa_ctx->indirect_ctx.guest_gma, in scan_wa_ctx()2821 ring_tail = wa_ctx->indirect_ctx.size + 3 * sizeof(u32); in scan_wa_ctx()2822 ring_size = round_up(wa_ctx->indirect_ctx.size + CACHELINE_BYTES, in scan_wa_ctx()2824 gma_head = wa_ctx->indirect_ctx.guest_gma; in scan_wa_ctx()2825 gma_tail = wa_ctx->indirect_ctx.guest_gma + ring_tail; in scan_wa_ctx()2826 gma_bottom = wa_ctx->indirect_ctx.guest_gma + ring_size; in scan_wa_ctx()2832 s.ring_start = wa_ctx->indirect_ctx.guest_gma; in scan_wa_ctx()2836 s.rb_va = wa_ctx->indirect_ctx.shadow_va; in scan_wa_ctx()2845 wa_ctx->indirect_ctx.guest_gma, ring_size); in scan_wa_ctx()2931 int ctx_size = wa_ctx->indirect_ctx.size; in shadow_indirect_ctx()[all …]
75 struct shadow_indirect_ctx indirect_ctx; member
128 } indirect_ctx, per_ctx; member
2242 struct i915_wa_ctx_bb *wa_bb[2] = { &wa_ctx->indirect_ctx, in intel_init_workaround_bb()3225 if (wa_ctx->indirect_ctx.size) { in execlists_init_reg_state()3229 (ggtt_offset + wa_ctx->indirect_ctx.offset) | in execlists_init_reg_state()3230 (wa_ctx->indirect_ctx.size / CACHELINE_BYTES); in execlists_init_reg_state()