Lines Matching full:place
378 * @place: placement flags and restrictions
385 const struct ttm_place *place, in amdgpu_vram_mgr_new() argument
398 lpfn = (u64)place->lpfn << PAGE_SHIFT; in amdgpu_vram_mgr_new()
402 fpfn = (u64)place->fpfn << PAGE_SHIFT; in amdgpu_vram_mgr_new()
408 if (place->flags & TTM_PL_FLAG_CONTIGUOUS) { in amdgpu_vram_mgr_new()
425 ttm_resource_init(tbo, place, &vres->base); in amdgpu_vram_mgr_new()
435 if (place->flags & TTM_PL_FLAG_TOPDOWN) in amdgpu_vram_mgr_new()
461 if (fpfn + size != (u64)place->lpfn << PAGE_SHIFT) { in amdgpu_vram_mgr_new()
466 if (place->flags & TTM_PL_FLAG_CONTIGUOUS) { in amdgpu_vram_mgr_new()
728 * @place: The place to test against
735 const struct ttm_place *place, in amdgpu_vram_mgr_intersects() argument
748 if (place->fpfn < lpfn && in amdgpu_vram_mgr_intersects()
749 (!place->lpfn || place->lpfn > fpfn)) in amdgpu_vram_mgr_intersects()
761 * @place: The place to test against
768 const struct ttm_place *place, in amdgpu_vram_mgr_compatible() argument
781 if (fpfn < place->fpfn || in amdgpu_vram_mgr_compatible()
782 (place->lpfn && lpfn > place->lpfn)) in amdgpu_vram_mgr_compatible()