Searched refs:need_wrap (Results 1 – 1 of 1) sorted by relevance
235 unsigned int need_wrap = 0; in intel_ring_begin() local255 need_wrap = remain_actual | 1; in intel_ring_begin()288 if (unlikely(need_wrap)) { in intel_ring_begin()289 need_wrap &= ~1; in intel_ring_begin()290 GEM_BUG_ON(need_wrap > ring->space); in intel_ring_begin()291 GEM_BUG_ON(ring->emit + need_wrap > ring->size); in intel_ring_begin()292 GEM_BUG_ON(!IS_ALIGNED(need_wrap, sizeof(u64))); in intel_ring_begin()295 memset64(ring->vaddr + ring->emit, 0, need_wrap / sizeof(u64)); in intel_ring_begin()296 ring->space -= need_wrap; in intel_ring_begin()