Home
last modified time | relevance | path

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

/openbsd/sys/dev/pci/drm/i915/gt/
H A Dintel_lrc.c1758 void *batch, *batch_ptr; in lrc_init_wa_ctx() local
1809 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()