Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_queue.c143 atomic_inc(&prange->queue_refcount); in kfd_queue_buffer_svm_get()
172 if (atomic_add_unless(&prange->queue_refcount, -1, 0)) { in kfd_queue_buffer_svm_put()
174 atomic_add_unless(&pchild->queue_refcount, -1, 0); in kfd_queue_buffer_svm_put()
219 mapping->bo_va->queue_refcount++; in kfd_queue_buffer_get()
359 if (bo_va && bo_va->queue_refcount) in kfd_queue_unref_bo_va()
360 bo_va->queue_refcount--; in kfd_queue_unref_bo_va()
Dkfd_svm.h140 atomic_t queue_refcount; member
Dkfd_svm.c1081 atomic_set(&new->queue_refcount, atomic_read(&old->queue_refcount)); in svm_range_split_adjust()
2023 atomic_set(&new->queue_refcount, atomic_read(&old->queue_refcount)); in svm_range_clone()
2460 if (atomic_read(&prange->queue_refcount)) { in svm_range_unmap_from_cpu()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.h98 unsigned int queue_refcount; member
Damdgpu_amdkfd_gpuvm.c1257 if (bo_va->queue_refcount) { in unmap_bo_from_gpuvm()
1258 pr_debug("bo_va->queue_refcount %d\n", bo_va->queue_refcount); in unmap_bo_from_gpuvm()