Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vram_mgr.c276 uint64_t vis_usage; in amdgpu_vram_mgr_do_reserve() local
291 vis_usage = amdgpu_vram_mgr_vis_size(adev, block); in amdgpu_vram_mgr_do_reserve()
292 atomic64_add(vis_usage, &mgr->vis_usage); in amdgpu_vram_mgr_do_reserve()
388 u64 vis_usage = 0, max_bytes, cur_size, min_block_size; in amdgpu_vram_mgr_new() local
542 vis_usage += amdgpu_vram_mgr_vis_size(adev, block); in amdgpu_vram_mgr_new()
553 atomic64_add(vis_usage, &mgr->vis_usage); in amdgpu_vram_mgr_new()
583 uint64_t vis_usage = 0; in amdgpu_vram_mgr_del() local
587 vis_usage += amdgpu_vram_mgr_vis_size(adev, block); in amdgpu_vram_mgr_del()
594 atomic64_sub(vis_usage, &mgr->vis_usage); in amdgpu_vram_mgr_del()
720 return atomic64_read(&mgr->vis_usage); in amdgpu_vram_mgr_vis_usage()
Damdgpu_vram_mgr.h36 atomic64_t vis_usage; member