Home
last modified time | relevance | path

Searched refs:vram_usage (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/radeon/
Dradeon_object.c419 u64 vram_usage = ttm_resource_manager_usage(man); in radeon_bo_get_threshold_for_moves() local
461 u64 half_free_vram = vram_usage >= half_vram ? 0 : half_vram - vram_usage; in radeon_bo_get_threshold_for_moves()
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_process.c335 return snprintf(buffer, PAGE_SIZE, "%llu\n", atomic64_read(&pdd->vram_usage)); in kfd_procfs_show()
1628 atomic64_set(&pdd->vram_usage, 0); in kfd_create_process_device_data()
Dkfd_chardev.c1151 atomic64_add(PAGE_ALIGN(size), &pdd->vram_usage); in kfd_ioctl_alloc_memory_of_gpu()
1222 atomic64_sub(size, &pdd->vram_usage); in kfd_ioctl_free_memory_of_gpu()
2350 atomic64_add(bo_bucket->size, &pdd->vram_usage); in criu_restore_memory_of_gpu()
Dkfd_priv.h778 atomic64_t vram_usage; member
Dkfd_svm.c423 atomic64_sub(amdgpu_bo_size(svm_bo->bo), &pdd->vram_usage); in svm_range_bo_release()
650 atomic64_add(amdgpu_bo_size(bo), &pdd->vram_usage); in svm_range_vram_node_new()