Home
last modified time | relevance | path

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

/linux-6.6.21/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()
427 u64 vis_usage = 0, max_bytes, cur_size, min_block_size; in amdgpu_vram_mgr_new() local
582 vis_usage += amdgpu_vram_mgr_vis_size(adev, block); in amdgpu_vram_mgr_new()
593 atomic64_add(vis_usage, &mgr->vis_usage); in amdgpu_vram_mgr_new()
623 uint64_t vis_usage = 0; in amdgpu_vram_mgr_del() local
627 vis_usage += amdgpu_vram_mgr_vis_size(adev, block); in amdgpu_vram_mgr_del()
634 atomic64_sub(vis_usage, &mgr->vis_usage); in amdgpu_vram_mgr_del()
760 return atomic64_read(&mgr->vis_usage); in amdgpu_vram_mgr_vis_usage()
Damdgpu_vram_mgr.h36 atomic64_t vis_usage; member