Searched refs:batch_ptr (Results 1 – 1 of 1) sorted by relevance
3949 void *batch, *batch_ptr; in intel_init_workaround_bb() local3991 batch_ptr = batch; in intel_init_workaround_bb()3993 wa_bb[i]->offset = batch_ptr - batch; in intel_init_workaround_bb()4000 batch_ptr = wa_bb_fn[i](engine, batch_ptr); in intel_init_workaround_bb()4001 wa_bb[i]->size = batch_ptr - (batch + wa_bb[i]->offset); in intel_init_workaround_bb()4003 GEM_BUG_ON(batch_ptr - batch > CTX_WA_BB_OBJ_SIZE); in intel_init_workaround_bb()4005 __i915_gem_object_flush_map(wa_ctx->vma->obj, 0, batch_ptr - batch); in intel_init_workaround_bb()