Home
last modified time | relevance | path

Searched refs:vram_used (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_pm.c715 u64 vram_used; in xe_pm_d3cold_allowed_toggle() local
726 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()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd.h104 int64_t vram_used[MAX_XCP]; member
Damdgpu_amdkfd_gpuvm.c223 (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()