Lines Matching full:place
36 const struct ttm_place *place, in i915_ttm_buddy_man_alloc() argument
47 lpfn = place->lpfn; in i915_ttm_buddy_man_alloc()
55 ttm_resource_init(bo, place, &bman_res->base); in i915_ttm_buddy_man_alloc()
59 if (place->flags & TTM_PL_FLAG_TOPDOWN) in i915_ttm_buddy_man_alloc()
62 if (place->flags & TTM_PL_FLAG_CONTIGUOUS) in i915_ttm_buddy_man_alloc()
65 if (place->fpfn || lpfn != man->size) in i915_ttm_buddy_man_alloc()
92 err = drm_buddy_alloc_blocks(mm, (u64)place->fpfn << PAGE_SHIFT, in i915_ttm_buddy_man_alloc()
154 const struct ttm_place *place, in i915_ttm_buddy_man_intersects() argument
162 if (!place->fpfn && !place->lpfn) in i915_ttm_buddy_man_intersects()
165 GEM_BUG_ON(!place->lpfn); in i915_ttm_buddy_man_intersects()
172 if (!place->fpfn && in i915_ttm_buddy_man_intersects()
173 place->lpfn == i915_ttm_buddy_man_visible_size(man)) in i915_ttm_buddy_man_intersects()
183 if (place->fpfn < lpfn && place->lpfn > fpfn) in i915_ttm_buddy_man_intersects()
192 const struct ttm_place *place, in i915_ttm_buddy_man_compatible() argument
200 if (!place->fpfn && !place->lpfn) in i915_ttm_buddy_man_compatible()
203 GEM_BUG_ON(!place->lpfn); in i915_ttm_buddy_man_compatible()
205 if (!place->fpfn && in i915_ttm_buddy_man_compatible()
206 place->lpfn == i915_ttm_buddy_man_visible_size(man)) in i915_ttm_buddy_man_compatible()
216 if (fpfn < place->fpfn || lpfn > place->lpfn) in i915_ttm_buddy_man_compatible()