need_wrap 1911 drivers/gpu/drm/i915/gt/intel_ringbuffer.c unsigned int need_wrap = 0; need_wrap 1931 drivers/gpu/drm/i915/gt/intel_ringbuffer.c need_wrap = remain_actual | 1; need_wrap 1962 drivers/gpu/drm/i915/gt/intel_ringbuffer.c if (unlikely(need_wrap)) { need_wrap 1963 drivers/gpu/drm/i915/gt/intel_ringbuffer.c need_wrap &= ~1; need_wrap 1964 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(need_wrap > ring->space); need_wrap 1965 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(ring->emit + need_wrap > ring->size); need_wrap 1966 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(!IS_ALIGNED(need_wrap, sizeof(u64))); need_wrap 1969 drivers/gpu/drm/i915/gt/intel_ringbuffer.c memset64(ring->vaddr + ring->emit, 0, need_wrap / sizeof(u64)); need_wrap 1970 drivers/gpu/drm/i915/gt/intel_ringbuffer.c ring->space -= need_wrap;