Home
last modified time | relevance | path

Searched refs:indirect_ctx (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
Dscheduler.c396 if (!wa_ctx->indirect_ctx.obj) in release_shadow_wa_ctx()
399 i915_gem_object_unpin_map(wa_ctx->indirect_ctx.obj); in release_shadow_wa_ctx()
400 i915_gem_object_put(wa_ctx->indirect_ctx.obj); in release_shadow_wa_ctx()
402 wa_ctx->indirect_ctx.obj = NULL; in release_shadow_wa_ctx()
403 wa_ctx->indirect_ctx.shadow_va = NULL; in release_shadow_wa_ctx()
486 workload->wa_ctx.indirect_ctx.size) { in intel_gvt_scan_and_shadow_workload()
572 (~INDIRECT_CTX_ADDR_MASK)) | wa_ctx->indirect_ctx.shadow_gma; in update_wa_ctx_2_shadow_ctx()
579 (unsigned char *)wa_ctx->indirect_ctx.shadow_va + in prepare_shadow_wa_ctx()
580 wa_ctx->indirect_ctx.size; in prepare_shadow_wa_ctx()
582 if (wa_ctx->indirect_ctx.size == 0) in prepare_shadow_wa_ctx()
[all …]
Dcmd_parser.c2847 if (WARN_ON(!IS_ALIGNED(wa_ctx->indirect_ctx.guest_gma, in scan_wa_ctx()
2851 ring_tail = wa_ctx->indirect_ctx.size + 3 * sizeof(u32); in scan_wa_ctx()
2852 ring_size = round_up(wa_ctx->indirect_ctx.size + CACHELINE_BYTES, in scan_wa_ctx()
2854 gma_head = wa_ctx->indirect_ctx.guest_gma; in scan_wa_ctx()
2855 gma_tail = wa_ctx->indirect_ctx.guest_gma + ring_tail; in scan_wa_ctx()
2856 gma_bottom = wa_ctx->indirect_ctx.guest_gma + ring_size; in scan_wa_ctx()
2862 s.ring_start = wa_ctx->indirect_ctx.guest_gma; in scan_wa_ctx()
2866 s.rb_va = wa_ctx->indirect_ctx.shadow_va; in scan_wa_ctx()
2875 wa_ctx->indirect_ctx.guest_gma, ring_size); in scan_wa_ctx()
2960 int ctx_size = wa_ctx->indirect_ctx.size; in shadow_indirect_ctx()
[all …]
Dscheduler.h75 struct shadow_indirect_ctx indirect_ctx; member
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_engine_types.h99 } indirect_ctx, per_ctx; member
Dintel_lrc.c3485 GEM_BUG_ON(engine->wa_ctx.indirect_ctx.size); in __execlists_update_reg_state()
3949 struct i915_wa_ctx_bb *wa_bb[2] = { &wa_ctx->indirect_ctx, in intel_init_workaround_bb()
5253 if (wa_ctx->indirect_ctx.size) { in init_wa_bb_reg_state()
5256 wa_ctx->indirect_ctx.offset, in init_wa_bb_reg_state()
5257 wa_ctx->indirect_ctx.size); in init_wa_bb_reg_state()