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->fpfn || lpfn != man->size) in i915_ttm_buddy_man_alloc()
75 if (place->fpfn + PFN_UP(bman_res->base.size) != place->lpfn && in i915_ttm_buddy_man_alloc()
76 place->flags & TTM_PL_FLAG_CONTIGUOUS) { in i915_ttm_buddy_man_alloc()
101 err = drm_buddy_alloc_blocks(mm, (u64)place->fpfn << PAGE_SHIFT, in i915_ttm_buddy_man_alloc()
110 if (place->flags & TTM_PL_FLAG_CONTIGUOUS) { in i915_ttm_buddy_man_alloc()
171 const struct ttm_place *place, in i915_ttm_buddy_man_intersects() argument
179 if (!place->fpfn && !place->lpfn) in i915_ttm_buddy_man_intersects()
182 GEM_BUG_ON(!place->lpfn); in i915_ttm_buddy_man_intersects()
189 if (!place->fpfn && in i915_ttm_buddy_man_intersects()
190 place->lpfn == i915_ttm_buddy_man_visible_size(man)) in i915_ttm_buddy_man_intersects()
200 if (place->fpfn < lpfn && place->lpfn > fpfn) in i915_ttm_buddy_man_intersects()
209 const struct ttm_place *place, in i915_ttm_buddy_man_compatible() argument
217 if (!place->fpfn && !place->lpfn) in i915_ttm_buddy_man_compatible()
220 GEM_BUG_ON(!place->lpfn); in i915_ttm_buddy_man_compatible()
222 if (!place->fpfn && in i915_ttm_buddy_man_compatible()
223 place->lpfn == i915_ttm_buddy_man_visible_size(man)) in i915_ttm_buddy_man_compatible()
233 if (fpfn < place->fpfn || lpfn > place->lpfn) in i915_ttm_buddy_man_compatible()