Home
last modified time | relevance | path

Searched refs:vis_usage (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vram_mgr.c302 uint64_t vis_usage; in amdgpu_vram_mgr_do_reserve() local
317 vis_usage = amdgpu_vram_mgr_vis_size(adev, block); in amdgpu_vram_mgr_do_reserve()
318 atomic64_add(vis_usage, &mgr->vis_usage); in amdgpu_vram_mgr_do_reserve()
456 u64 vis_usage = 0, max_bytes, min_block_size; in amdgpu_vram_mgr_new() local
604 vis_usage += amdgpu_vram_mgr_vis_size(adev, block); in amdgpu_vram_mgr_new()
615 atomic64_add(vis_usage, &mgr->vis_usage); in amdgpu_vram_mgr_new()
645 uint64_t vis_usage = 0; in amdgpu_vram_mgr_del() local
649 vis_usage += amdgpu_vram_mgr_vis_size(adev, block); in amdgpu_vram_mgr_del()
656 atomic64_sub(vis_usage, &mgr->vis_usage); in amdgpu_vram_mgr_del()
782 return atomic64_read(&mgr->vis_usage); in amdgpu_vram_mgr_vis_usage()
Damdgpu_vram_mgr.h36 atomic64_t vis_usage; member