Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/gt/
A Dintel_ring.c232 unsigned int need_wrap = 0; in intel_ring_begin() local
252 need_wrap = remain_actual | 1; in intel_ring_begin()
285 if (unlikely(need_wrap)) { in intel_ring_begin()
286 need_wrap &= ~1; in intel_ring_begin()
287 GEM_BUG_ON(need_wrap > ring->space); in intel_ring_begin()
288 GEM_BUG_ON(ring->emit + need_wrap > ring->size); in intel_ring_begin()
289 GEM_BUG_ON(!IS_ALIGNED(need_wrap, sizeof(u64))); in intel_ring_begin()
292 memset64(ring->vaddr + ring->emit, 0, need_wrap / sizeof(u64)); in intel_ring_begin()
293 ring->space -= need_wrap; in intel_ring_begin()

Completed in 3 milliseconds