Searched refs:KGEM_BATCH_RESERVED (Results 1 – 2 of 2) sorted by relevance
48 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()
243 #define KGEM_BATCH_RESERVED 8 /* LRI(SWCTRL) + END */ macro251 #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()