Lines Matching full:alignment
161 * @alignment: required alignment of starting offset, may be 0 but
172 * is can insert the node. The hole address is aligned to @alignment and
192 u64 size, u64 alignment, unsigned long color, in i915_gem_gtt_insert() argument
203 GEM_BUG_ON(alignment && !is_power_of_2(alignment)); in i915_gem_gtt_insert()
204 GEM_BUG_ON(alignment && !IS_ALIGNED(alignment, I915_GTT_MIN_ALIGNMENT)); in i915_gem_gtt_insert()
214 if (unlikely(round_up(start, alignment) > round_down(end - size, alignment))) in i915_gem_gtt_insert()
224 * so we know that we always have a minimum alignment of 4096. in i915_gem_gtt_insert()
226 * with zero alignment, so where possible use the optimal in i915_gem_gtt_insert()
230 if (alignment <= I915_GTT_MIN_ALIGNMENT) in i915_gem_gtt_insert()
231 alignment = 0; in i915_gem_gtt_insert()
234 size, alignment, color, in i915_gem_gtt_insert()
241 size, alignment, color, in i915_gem_gtt_insert()
275 size, alignment ?: I915_GTT_MIN_ALIGNMENT); in i915_gem_gtt_insert()
284 err = i915_gem_evict_something(vm, ww, size, alignment, color, in i915_gem_gtt_insert()
290 size, alignment, color, in i915_gem_gtt_insert()