Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dintel_lrc.c1753 void *batch, *batch_ptr; in lrc_init_wa_ctx() local
1804 batch_ptr = batch; in lrc_init_wa_ctx()
1806 wa_bb[i]->offset = batch_ptr - batch; in lrc_init_wa_ctx()
1813 batch_ptr = wa_bb_fn[i](engine, batch_ptr); in lrc_init_wa_ctx()
1814 wa_bb[i]->size = batch_ptr - (batch + wa_bb[i]->offset); in lrc_init_wa_ctx()
1816 GEM_BUG_ON(batch_ptr - batch > CTX_WA_BB_SIZE); in lrc_init_wa_ctx()
1818 __i915_gem_object_flush_map(wa_ctx->vma->obj, 0, batch_ptr - batch); in lrc_init_wa_ctx()