Searched refs:min_block_size (Results 1 – 1 of 1) sorted by relevance
427 u64 vis_usage = 0, max_bytes, cur_size, min_block_size; in amdgpu_vram_mgr_new() local486 min_block_size = (u64)tbo->page_alignment << PAGE_SHIFT; in amdgpu_vram_mgr_new()488 min_block_size = mgr->default_page_size; in amdgpu_vram_mgr_new()490 BUG_ON(min_block_size < mm->chunk_size); in amdgpu_vram_mgr_new()497 min_block_size = (u64)pages_per_block << PAGE_SHIFT; in amdgpu_vram_mgr_new()508 min_block_size = size; in amdgpu_vram_mgr_new()513 } else if (!IS_ALIGNED(size, min_block_size)) { in amdgpu_vram_mgr_new()514 size = round_up(size, min_block_size); in amdgpu_vram_mgr_new()521 min_block_size, in amdgpu_vram_mgr_new()