Lines Matching refs:placement
60 .placement = &sys_placement_flags,
158 struct ttm_placement *placement) in i915_ttm_placement_from_obj() argument
164 placement->num_placement = 1; in i915_ttm_placement_from_obj()
169 placement->num_busy_placement = num_allowed; in i915_ttm_placement_from_obj()
170 for (i = 0; i < placement->num_busy_placement; ++i) in i915_ttm_placement_from_obj()
175 placement->num_busy_placement = 1; in i915_ttm_placement_from_obj()
178 placement->placement = requested; in i915_ttm_placement_from_obj()
179 placement->busy_placement = busy; in i915_ttm_placement_from_obj()
243 struct ttm_placement *placement) in i915_ttm_evict_flags() argument
245 *placement = i915_sys_placement; in i915_ttm_evict_flags()
645 struct ttm_placement *placement) in __i915_ttm_get_pages() argument
657 real_num_busy = fetch_and_zero(&placement->num_busy_placement); in __i915_ttm_get_pages()
658 ret = ttm_bo_validate(bo, placement, &ctx); in __i915_ttm_get_pages()
673 placement->num_busy_placement = real_num_busy; in __i915_ttm_get_pages()
674 ret = ttm_bo_validate(bo, placement, &ctx); in __i915_ttm_get_pages()
704 struct ttm_placement placement; in i915_ttm_get_pages() local
709 i915_ttm_placement_from_obj(obj, &requested, busy, &placement); in i915_ttm_get_pages()
711 return __i915_ttm_get_pages(obj, &placement); in i915_ttm_get_pages()
732 struct ttm_placement placement; in i915_ttm_migrate() local
736 placement.num_placement = 1; in i915_ttm_migrate()
737 placement.num_busy_placement = 1; in i915_ttm_migrate()
738 placement.placement = &requested; in i915_ttm_migrate()
739 placement.busy_placement = &requested; in i915_ttm_migrate()
741 ret = __i915_ttm_get_pages(obj, &placement); in i915_ttm_migrate()