Searched refs:batch_ptr (Results 1 – 1 of 1) sorted by relevance
1758 void *batch, *batch_ptr; in lrc_init_wa_ctx() local1809 batch_ptr = batch; in lrc_init_wa_ctx()1811 wa_bb[i]->offset = batch_ptr - batch; in lrc_init_wa_ctx()1818 batch_ptr = wa_bb_fn[i](engine, batch_ptr); in lrc_init_wa_ctx()1819 wa_bb[i]->size = batch_ptr - (batch + wa_bb[i]->offset); in lrc_init_wa_ctx()1821 GEM_BUG_ON(batch_ptr - batch > CTX_WA_BB_SIZE); in lrc_init_wa_ctx()1823 __i915_gem_object_flush_map(wa_ctx->vma->obj, 0, batch_ptr - batch); in lrc_init_wa_ctx()