Searched refs:vram_needed (Results 1 – 1 of 1) sorted by relevance
176 size_t system_mem_needed, ttm_mem_needed, vram_needed; in amdgpu_amdkfd_reserve_mem_limit() local182 vram_needed = 0; in amdgpu_amdkfd_reserve_mem_limit()192 vram_needed = size; in amdgpu_amdkfd_reserve_mem_limit()223 (adev && xcp_id >= 0 && adev->kfd.vram_used[xcp_id] + vram_needed > in amdgpu_amdkfd_reserve_mem_limit()232 WARN_ONCE(vram_needed && !adev, in amdgpu_amdkfd_reserve_mem_limit()235 adev->kfd.vram_used[xcp_id] += vram_needed; in amdgpu_amdkfd_reserve_mem_limit()238 vram_needed : in amdgpu_amdkfd_reserve_mem_limit()239 ALIGN(vram_needed, VRAM_AVAILABLITY_ALIGN); in amdgpu_amdkfd_reserve_mem_limit()