Lines Matching refs:placement

50 					struct ttm_placement *placement)
56 for (i = 0; i < placement->num_placement; i++) {
57 mem_type = placement->placement[i].mem_type;
58 drm_printf(&p, " placement[%d]=0x%08X (%d)\n",
59 i, placement->placement[i].flags, mem_type);
408 hop_placement.placement = hop_placement.busy_placement = hop;
428 struct ttm_placement placement;
436 placement.num_placement = 0;
437 placement.num_busy_placement = 0;
438 bdev->funcs->evict_flags(bo, &placement);
440 if (!placement.num_placement && !placement.num_busy_placement) {
452 ret = ttm_bo_mem_space(bo, &placement, &evict_mem, ctx);
457 ttm_bo_mem_space_debug(bo, &placement);
483 * @place: the placement we need to make room for
485 * Check if it is valuable to evict the BO to make room for the given placement.
498 * requested placement range
758 * @placement: Proposed new placement for the buffer object.
763 * the placement flags in @placement, potentially evicting other idle buffer objects.
772 struct ttm_placement *placement,
784 for (i = 0; i < placement->num_placement; ++i) {
785 const struct ttm_place *place = &placement->placement[i];
810 for (i = 0; i < placement->num_busy_placement; ++i) {
811 const struct ttm_place *place = &placement->busy_placement[i];
839 struct ttm_placement *placement,
857 ret = ttm_bo_mem_space(bo, placement, &mem, ctx);
879 * @placement: Proposed placement for the buffer object.
882 * Changes placement and caching policy of the buffer object
883 * according proposed placement.
885 * -EINVAL on invalid proposed placement.
891 struct ttm_placement *placement,
899 * Remove the backing store if no placement is given.
901 if (!placement->num_placement && !placement->num_busy_placement)
905 if (bo->resource && ttm_resource_compat(bo->resource, placement))
912 ret = ttm_bo_move_buffer(bo, placement, ctx);
934 * @placement: Initial placement for buffer object.
958 * -EINVAL: Invalid placement flags.
962 enum ttm_bo_type type, struct ttm_placement *placement,
1002 ret = ttm_bo_validate(bo, placement, ctx);
1024 * @placement: Initial placement for buffer object.
1051 * -EINVAL: Invalid placement flags.
1055 enum ttm_bo_type type, struct ttm_placement *placement,
1063 ret = ttm_bo_init_reserved(bdev, bo, type, placement, alignment, &ctx,
1133 * While the bo may already reside in SYSTEM placement, set
1134 * SYSTEM as new placement to cover also the move further below.