Home
last modified time | relevance | path

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

/dports/x11-drivers/xf86-video-intel/xf86-video-intel-31486f40f8e8f8923ca0799aea84b58799754564/src/sna/
H A Dsna_render_inline.h48 assert(sna->kgem.nbatch + KGEM_BATCH_RESERVED <= sna->kgem.surface); in batch_space()
49 return sna->kgem.surface - sna->kgem.nbatch - KGEM_BATCH_RESERVED; in batch_space()
55 assert(sna->kgem.nbatch + KGEM_BATCH_RESERVED < sna->kgem.surface); in batch_emit()
62 assert(sna->kgem.nbatch + KGEM_BATCH_RESERVED < sna->kgem.surface); in batch_emit_aligned()
71 assert(sna->kgem.nbatch + 2 + KGEM_BATCH_RESERVED < sna->kgem.surface); in batch_emit64()
H A Dkgem.h243 #define KGEM_BATCH_RESERVED 8 /* LRI(SWCTRL) + END */ macro
251 #define KGEM_BATCH_SIZE(K) ((K)->batch_size-KGEM_BATCH_RESERVED)
451 return rem - KGEM_BATCH_RESERVED; in kgem_batch_space()
459 return likely(kgem->nbatch + num_dwords + KGEM_BATCH_RESERVED <= kgem->surface); in kgem_check_batch()
483 …return (int)(kgem->nbatch + num_dwords + KGEM_BATCH_RESERVED) <= (int)(kgem->surface - num_surface… in kgem_check_batch_with_surfaces()