Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vram_mgr.c320 uint64_t vis_usage = 0, mem_bytes, max_bytes; in amdgpu_vram_mgr_new() local
378 vis_usage += amdgpu_vram_mgr_vis_size(adev, &nodes[i]); in amdgpu_vram_mgr_new()
397 vis_usage += amdgpu_vram_mgr_vis_size(adev, &nodes[i]); in amdgpu_vram_mgr_new()
403 atomic64_add(vis_usage, &mgr->vis_usage); in amdgpu_vram_mgr_new()
433 uint64_t usage = 0, vis_usage = 0; in amdgpu_vram_mgr_del() local
444 vis_usage += amdgpu_vram_mgr_vis_size(adev, nodes); in amdgpu_vram_mgr_del()
450 atomic64_sub(vis_usage, &mgr->vis_usage); in amdgpu_vram_mgr_del()
579 return atomic64_read(&mgr->vis_usage); in amdgpu_vram_mgr_vis_usage()
Damdgpu_ttm.h45 atomic64_t vis_usage; member