Searched refs:vram_used (Results 1 – 3 of 3) sorted by relevance
715 u64 vram_used; in xe_pm_d3cold_allowed_toggle() local726 vram_used = ttm_resource_manager_usage(man); in xe_pm_d3cold_allowed_toggle()727 total_vram_used_mb += DIV_ROUND_UP_ULL(vram_used, 1024 * 1024); in xe_pm_d3cold_allowed_toggle()
104 int64_t vram_used[MAX_XCP]; member
223 (adev && xcp_id >= 0 && adev->kfd.vram_used[xcp_id] + vram_needed > in amdgpu_amdkfd_reserve_mem_limit()235 adev->kfd.vram_used[xcp_id] += vram_needed; in amdgpu_amdkfd_reserve_mem_limit()264 adev->kfd.vram_used[xcp_id] -= size; in amdgpu_amdkfd_unreserve_mem_limit()282 WARN_ONCE(adev && xcp_id >= 0 && adev->kfd.vram_used[xcp_id] < 0, in amdgpu_amdkfd_unreserve_mem_limit()