Home
last modified time | relevance | path

Searched refs:bo_list (Results 1 - 25 of 25) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_validation.h62 * @bo_list: List head for buffer objects
79 struct list_head bo_list; member
111 .bo_list = LIST_HEAD_INIT((_name).bo_list), \
128 return !list_empty(&ctx->bo_list); in vmw_validation_has_bos()
172 return ttm_eu_reserve_buffers(&ctx->ticket, &ctx->bo_list, intr, in vmw_validation_bo_reserve()
188 ttm_eu_fence_buffer_objects(&ctx->ticket, &ctx->bo_list, in vmw_validation_bo_fence()
205 INIT_LIST_HEAD(&ctx->bo_list); in vmw_validation_context_init()
H A Dvmwgfx_validation.c193 list_for_each_entry(entry, &ctx->bo_list, base.head) { in vmw_validation_find_bo_dup()
294 list_add_tail(&val_buf->head, &ctx->bo_list); in vmw_validation_add_bo()
583 list_for_each_entry(entry, &ctx->bo_list, base.head) { in vmw_validation_bo_validate()
689 list_for_each_entry(entry, &ctx->bo_list, base.head) in vmw_validation_drop_ht()
714 list_for_each_entry(entry, &ctx->bo_list, base.head) { in vmw_validation_unref_lists()
727 INIT_LIST_HEAD(&ctx->bo_list); in vmw_validation_unref_lists()
892 list_for_each_entry(entry, &ctx->bo_list, base.head) { in vmw_validation_bo_backoff()
904 ttm_eu_backoff_reservation(&ctx->ticket, &ctx->bo_list); in vmw_validation_bo_backoff()
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_validation.h47 * @bo_list: List head for buffer objects
64 struct list_head bo_list; member
96 .bo_list = LIST_HEAD_INIT((_name).bo_list), \
113 return !list_empty(&ctx->bo_list); in vmw_validation_has_bos()
129 return ttm_eu_reserve_buffers(&ctx->ticket, &ctx->bo_list, intr, in vmw_validation_bo_reserve()
145 ttm_eu_fence_buffer_objects(&ctx->ticket, &ctx->bo_list, in vmw_validation_bo_fence()
H A Dvmwgfx_validation.c195 list_for_each_entry(entry, &ctx->bo_list, base.head) { in vmw_validation_find_bo_dup()
286 list_add_tail(&val_buf->head, &ctx->bo_list); in vmw_validation_add_bo()
555 list_for_each_entry(entry, &ctx->bo_list, base.head) { in vmw_validation_bo_validate()
650 list_for_each_entry(entry, &ctx->bo_list, base.head) in vmw_validation_drop_ht()
675 list_for_each_entry(entry, &ctx->bo_list, base.head) { in vmw_validation_unref_lists()
688 INIT_LIST_HEAD(&ctx->bo_list); in vmw_validation_unref_lists()
853 list_for_each_entry(entry, &ctx->bo_list, base.head) { in vmw_validation_bo_backoff()
863 ttm_eu_backoff_reservation(&ctx->ticket, &ctx->bo_list); in vmw_validation_bo_backoff()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_cs.c161 &p->bo_list); in amdgpu_cs_p1_bo_handles()
845 /* p->bo_list could already be assigned if AMDGPU_CHUNK_ID_BO_HANDLES is present */ in amdgpu_cs_parser_bos()
847 if (p->bo_list) in amdgpu_cs_parser_bos()
851 &p->bo_list); in amdgpu_cs_parser_bos()
854 } else if (!p->bo_list) { in amdgpu_cs_parser_bos()
855 /* Create a empty bo_list when no handle is provided */ in amdgpu_cs_parser_bos()
857 &p->bo_list); in amdgpu_cs_parser_bos()
862 mutex_lock(&p->bo_list->bo_list_mutex); in amdgpu_cs_parser_bos()
868 amdgpu_bo_list_for_each_userptr_entry(e, p->bo_list) { in amdgpu_cs_parser_bos()
904 amdgpu_bo_list_for_each_entry(e, p->bo_list) { in amdgpu_cs_parser_bos()
[all...]
H A Damdgpu_cs.h67 struct amdgpu_bo_list *bo_list; member
H A Damdgpu_trace.h148 __field(struct amdgpu_bo_list *, bo_list)
155 __entry->bo_list = p->bo_list;
161 TP_printk("bo_list=%p, ring=%u, dw=%u, fences=%u",
162 __entry->bo_list, __entry->ring, __entry->dw,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_cs.c83 &p->bo_list); in amdgpu_cs_bo_handles_chunk()
512 /* p->bo_list could already be assigned if AMDGPU_CHUNK_ID_BO_HANDLES is present */ in amdgpu_cs_parser_bos()
514 if (p->bo_list) in amdgpu_cs_parser_bos()
518 &p->bo_list); in amdgpu_cs_parser_bos()
521 } else if (!p->bo_list) { in amdgpu_cs_parser_bos()
522 /* Create a empty bo_list when no handle is provided */ in amdgpu_cs_parser_bos()
524 &p->bo_list); in amdgpu_cs_parser_bos()
530 amdgpu_bo_list_for_each_entry(e, p->bo_list) in amdgpu_cs_parser_bos()
533 amdgpu_bo_list_get_list(p->bo_list, &p->validated); in amdgpu_cs_parser_bos()
545 amdgpu_bo_list_for_each_userptr_entry(e, p->bo_list) { in amdgpu_cs_parser_bos()
[all...]
H A Damdgpu_amdkfd_gpuvm.c75 list_for_each_entry(entry, &mem->bo_va_list, bo_list) in check_if_add_bo_to_vm()
473 list_add(&bo_va_entry->bo_list, list_bo_va); in add_bo_to_vm()
489 list_del(&bo_va_entry->bo_list); in add_bo_to_vm()
502 list_del(&entry->bo_list); in remove_bo_from_vm()
690 list_for_each_entry(entry, &mem->bo_va_list, bo_list) { in reserve_bo_and_cond_vms()
712 list_for_each_entry(entry, &mem->bo_va_list, bo_list) { in reserve_bo_and_cond_vms()
1321 list_for_each_entry_safe(entry, tmp, &mem->bo_va_list, bo_list) in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
1447 list_for_each_entry(entry, &mem->bo_va_list, bo_list) { in amdgpu_amdkfd_gpuvm_map_memory_to_gpu()
1526 list_for_each_entry(entry, &mem->bo_va_list, bo_list) { in amdgpu_amdkfd_gpuvm_unmap_memory_from_gpu()
1906 list_for_each_entry(bo_va_entry, &mem->bo_va_list, bo_list) { in validate_invalid_user_pages()
[all...]
H A Damdgpu_trace.h146 __field(struct amdgpu_bo_list *, bo_list)
153 __entry->bo_list = p->bo_list;
159 TP_printk("bo_list=%p, ring=%u, dw=%u, fences=%u",
160 __entry->bo_list, __entry->ring, __entry->dw,
H A Damdgpu_amdkfd.h42 struct list_head bo_list; member
H A Damdgpu.h511 struct amdgpu_bo_list *bo_list; member
/kernel/linux/linux-6.6/drivers/accel/ivpu/
H A Divpu_mmu_context.h26 struct mutex lock; /* protects: mm, pgtable, bo_list */
29 struct list_head bo_list; member
H A Divpu_gem.c298 list_add_tail(&bo->ctx_node, &ctx->bo_list); in ivpu_bo_alloc_vpu_addr()
335 list_for_each_entry_safe(bo, tmp, &ctx->bo_list, ctx_node) in ivpu_bo_remove_all_bos_from_context()
736 list_for_each_entry(bo, &vdev->gctx.bo_list, ctx_node) in ivpu_bo_list()
746 list_for_each_entry(bo, &file_priv->ctx.bo_list, ctx_node) in ivpu_bo_list()
H A Divpu_mmu_context.c424 INIT_LIST_HEAD(&ctx->bo_list); in ivpu_mmu_context_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dradeon_vm.c298 list_for_each_entry(bo_va, &bo->va, bo_list) { in radeon_vm_bo_find()
335 INIT_LIST_HEAD(&bo_va->bo_list); in radeon_vm_bo_add()
339 list_add_tail(&bo_va->bo_list, &bo->va); in radeon_vm_bo_add()
1124 list_del(&bo_va->bo_list); in radeon_vm_bo_rmv()
1158 list_for_each_entry(bo_va, &bo->va, bo_list) { in radeon_vm_bo_invalidate()
1248 list_del_init(&bo_va->bo_list); in radeon_vm_fini()
H A Dradeon.h476 struct list_head bo_list; member
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Dradeon_vm.c299 list_for_each_entry(bo_va, &bo->va, bo_list) { in radeon_vm_bo_find()
336 INIT_LIST_HEAD(&bo_va->bo_list); in radeon_vm_bo_add()
340 list_add_tail(&bo_va->bo_list, &bo->va); in radeon_vm_bo_add()
1123 list_del(&bo_va->bo_list); in radeon_vm_bo_rmv()
1156 list_for_each_entry(bo_va, &bo->va, bo_list) { in radeon_vm_bo_invalidate()
1246 list_del_init(&bo_va->bo_list); in radeon_vm_fini()
H A Dradeon.h471 struct list_head bo_list; member
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
H A Dmsm_gem.h70 * with the submit are on submit->bo_list.. this only lasts for
143 struct list_head bo_list; member
H A Dmsm_gem_submit.c58 INIT_LIST_HEAD(&submit->bo_list); in submit_create()
141 list_add_tail(&msm_obj->submit_entry, &submit->bo_list); in submit_lookup_objects()
/kernel/linux/linux-6.6/drivers/accel/qaic/
H A Dqaic.h201 struct list_head bo_list; member
H A Dqaic_data.c916 list_add_tail(&bo->bo_list, &qdev->dbc[hdr->dbc_id].bo_lists); in qaic_attach_slicing_bo()
1875 list_for_each_entry_safe(bo, bo_temp, &dbc->bo_lists, bo_list) { in release_dbc()
1889 list_del(&bo->bo_list); in release_dbc()
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/hmm/
H A Dhmm.c49 char *buf, struct list_head *bo_list, bool active) in bo_show()
67 list_for_each_entry(bo, bo_list, list) { in bo_show()
48 bo_show(struct device *dev, struct device_attribute *attr, char *buf, struct list_head *bo_list, bool active) bo_show() argument
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hmm/
H A Dhmm.c55 char *buf, struct list_head *bo_list, bool active) in bo_show()
73 list_for_each_entry(bo, bo_list, list) { in bo_show()
54 bo_show(struct device *dev, struct device_attribute *attr, char *buf, struct list_head *bo_list, bool active) bo_show() argument

Completed in 37 milliseconds