Lines Matching full:placement
298 * @place: placement of the resource
312 res->placement = place->flags; in ttm_resource_init()
410 * @place: The placement to test
416 * Returns true if the res placement intersects with @place and @size.
436 * ttm_resource_compatible - check if resource is compatible with placement
439 * @placement: the placement to check against
442 * Returns true if the placement is compatible.
445 struct ttm_placement *placement, in ttm_resource_compatible() argument
452 if (res->placement & TTM_PL_FLAG_TEMPORARY) in ttm_resource_compatible()
455 for (i = 0; i < placement->num_placement; i++) { in ttm_resource_compatible()
456 const struct ttm_place *place = &placement->placement[i]; in ttm_resource_compatible()
467 !(res->placement & TTM_PL_FLAG_CONTIGUOUS)) in ttm_resource_compatible()