Searched refs:need_wrap (Results 1 – 1 of 1) sorted by relevance
231 unsigned int need_wrap = 0; in intel_ring_begin() local251 need_wrap = remain_actual | 1; in intel_ring_begin()284 if (unlikely(need_wrap)) { in intel_ring_begin()285 need_wrap &= ~1; in intel_ring_begin()286 GEM_BUG_ON(need_wrap > ring->space); in intel_ring_begin()287 GEM_BUG_ON(ring->emit + need_wrap > ring->size); in intel_ring_begin()288 GEM_BUG_ON(!IS_ALIGNED(need_wrap, sizeof(u64))); in intel_ring_begin()291 memset64(ring->vaddr + ring->emit, 0, need_wrap / sizeof(u64)); in intel_ring_begin()292 ring->space -= need_wrap; in intel_ring_begin()