Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/radeon/
A Dradeon_object.c66 atomic64_add(bo->base.size, &rdev->vram_usage); in radeon_update_memory_usage()
68 atomic64_sub(bo->base.size, &rdev->vram_usage); in radeon_update_memory_usage()
437 u64 vram_usage = atomic64_read(&rdev->vram_usage); in radeon_bo_get_threshold_for_moves() local
479 u64 half_free_vram = vram_usage >= half_vram ? 0 : half_vram - vram_usage; in radeon_bo_get_threshold_for_moves()
A Dradeon_kms.c553 value64 = atomic64_read(&rdev->vram_usage); in radeon_info_ioctl()
A Dradeon.h2465 atomic64_t vram_usage; member
/linux/drivers/gpu/drm/amd/amdkfd/
A Dkfd_chardev.c1339 WRITE_ONCE(pdd->vram_usage, pdd->vram_usage + args->size); in kfd_ioctl_alloc_memory_of_gpu()
1412 WRITE_ONCE(pdd->vram_usage, pdd->vram_usage - size); in kfd_ioctl_free_memory_of_gpu()
A Dkfd_process.c310 return snprintf(buffer, PAGE_SIZE, "%llu\n", READ_ONCE(pdd->vram_usage)); in kfd_procfs_show()
1504 pdd->vram_usage = 0; in kfd_create_process_device_data()
A Dkfd_priv.h707 uint64_t vram_usage; member

Completed in 64 milliseconds