Lines Matching refs:place
203 struct ttm_place place = {}; in intel_region_ttm_resource_alloc() local
209 place.flags |= TTM_PL_FLAG_CONTIGUOUS; in intel_region_ttm_resource_alloc()
211 if (WARN_ON(overflows_type(offset >> PAGE_SHIFT, place.fpfn))) { in intel_region_ttm_resource_alloc()
215 place.fpfn = offset >> PAGE_SHIFT; in intel_region_ttm_resource_alloc()
216 if (WARN_ON(overflows_type(place.fpfn + (size >> PAGE_SHIFT), place.lpfn))) { in intel_region_ttm_resource_alloc()
220 place.lpfn = place.fpfn + (size >> PAGE_SHIFT); in intel_region_ttm_resource_alloc()
223 place.flags |= TTM_PL_FLAG_TOPDOWN; in intel_region_ttm_resource_alloc()
225 place.fpfn = 0; in intel_region_ttm_resource_alloc()
226 if (WARN_ON(overflows_type(mem->io_size >> PAGE_SHIFT, place.lpfn))) { in intel_region_ttm_resource_alloc()
230 place.lpfn = mem->io_size >> PAGE_SHIFT; in intel_region_ttm_resource_alloc()
237 ret = man->func->alloc(man, &mock_bo, &place, &res); in intel_region_ttm_resource_alloc()