Lines Matching refs:placement
50 struct ttm_placement *placement) in ttm_bo_mem_space_debug() argument
56 for (i = 0; i < placement->num_placement; i++) { in ttm_bo_mem_space_debug()
57 mem_type = placement->placement[i].mem_type; in ttm_bo_mem_space_debug()
59 i, placement->placement[i].flags, mem_type); in ttm_bo_mem_space_debug()
409 hop_placement.placement = hop_placement.busy_placement = hop; in ttm_bo_bounce_temp_buffer()
429 struct ttm_placement placement; in ttm_bo_evict() local
437 placement.num_placement = 0; in ttm_bo_evict()
438 placement.num_busy_placement = 0; in ttm_bo_evict()
439 bdev->funcs->evict_flags(bo, &placement); in ttm_bo_evict()
441 if (!placement.num_placement && !placement.num_busy_placement) { in ttm_bo_evict()
453 ret = ttm_bo_mem_space(bo, &placement, &evict_mem, ctx); in ttm_bo_evict()
458 ttm_bo_mem_space_debug(bo, &placement); in ttm_bo_evict()
765 struct ttm_placement *placement, in ttm_bo_mem_space() argument
777 for (i = 0; i < placement->num_placement; ++i) { in ttm_bo_mem_space()
778 const struct ttm_place *place = &placement->placement[i]; in ttm_bo_mem_space()
803 for (i = 0; i < placement->num_busy_placement; ++i) { in ttm_bo_mem_space()
804 const struct ttm_place *place = &placement->busy_placement[i]; in ttm_bo_mem_space()
832 struct ttm_placement *placement, in ttm_bo_move_buffer() argument
850 ret = ttm_bo_mem_space(bo, placement, &mem, ctx); in ttm_bo_move_buffer()
884 struct ttm_placement *placement, in ttm_bo_validate() argument
894 if (!placement->num_placement && !placement->num_busy_placement) in ttm_bo_validate()
900 if (!bo->resource || !ttm_resource_compat(bo->resource, placement)) { in ttm_bo_validate()
901 ret = ttm_bo_move_buffer(bo, placement, ctx); in ttm_bo_validate()
951 enum ttm_bo_type type, struct ttm_placement *placement, in ttm_bo_init_reserved() argument
998 ret = ttm_bo_validate(bo, placement, ctx); in ttm_bo_init_reserved()
1051 enum ttm_bo_type type, struct ttm_placement *placement, in ttm_bo_init_validate() argument
1059 ret = ttm_bo_init_reserved(bdev, bo, type, placement, alignment, &ctx, in ttm_bo_init_validate()