gen8_init_perctx_bb — initialize per ctx batch with WA
int gen8_init_perctx_bb ( | struct intel_engine_cs * ring, |
| struct i915_wa_ctx_bb * wa_ctx, | |
| uint32_t *const batch, | |
uint32_t * offset); |
ringonly applicable for RCS
wa_ctxstructure representing wa_ctx
batchpage in which WA are loaded
offsetThis field specifies the start of this batch. This batch is started immediately after indirect_ctx batch. Since we ensure that indirect_ctx ends on a cacheline this batch is aligned automatically.