Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_object.c423 u64 vram_usage = ttm_resource_manager_usage(man); in radeon_bo_get_threshold_for_moves() local
465 u64 half_free_vram = vram_usage >= half_vram ? 0 : half_vram - vram_usage; in radeon_bo_get_threshold_for_moves()
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_chardev.c1131 WRITE_ONCE(pdd->vram_usage, pdd->vram_usage + args->size); in kfd_ioctl_alloc_memory_of_gpu()
1201 WRITE_ONCE(pdd->vram_usage, pdd->vram_usage - size); in kfd_ioctl_free_memory_of_gpu()
2248 WRITE_ONCE(pdd->vram_usage, pdd->vram_usage + bo_bucket->size); in criu_restore_memory_of_gpu()
Dkfd_process.c311 return snprintf(buffer, PAGE_SIZE, "%llu\n", READ_ONCE(pdd->vram_usage)); in kfd_procfs_show()
1518 pdd->vram_usage = 0; in kfd_create_process_device_data()
Dkfd_priv.h735 uint64_t vram_usage; member