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) ; |
ring
only applicable for RCS
wa_ctx
structure representing wa_ctx
batch
page in which WA are loaded
offset
This 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.