/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_validation.h | 62 * @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 D | vmwgfx_validation.c | 193 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 D | vmwgfx_validation.h | 47 * @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 D | vmwgfx_validation.c | 195 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 D | amdgpu_cs.c | 161 &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 D | amdgpu_cs.h | 67 struct amdgpu_bo_list *bo_list; member
|
H A D | amdgpu_trace.h | 148 __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 D | amdgpu_cs.c | 83 &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 D | amdgpu_amdkfd_gpuvm.c | 75 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 D | amdgpu_trace.h | 146 __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 D | amdgpu_amdkfd.h | 42 struct list_head bo_list; member
|
H A D | amdgpu.h | 511 struct amdgpu_bo_list *bo_list; member
|
/kernel/linux/linux-6.6/drivers/accel/ivpu/ |
H A D | ivpu_mmu_context.h | 26 struct mutex lock; /* protects: mm, pgtable, bo_list */ 29 struct list_head bo_list; member
|
H A D | ivpu_gem.c | 298 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 D | ivpu_mmu_context.c | 424 INIT_LIST_HEAD(&ctx->bo_list); in ivpu_mmu_context_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | radeon_vm.c | 298 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 D | radeon.h | 476 struct list_head bo_list; member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | radeon_vm.c | 299 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 D | radeon.h | 471 struct list_head bo_list; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/ |
H A D | msm_gem.h | 70 * with the submit are on submit->bo_list.. this only lasts for 143 struct list_head bo_list; member
|
H A D | msm_gem_submit.c | 58 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 D | qaic.h | 201 struct list_head bo_list; member
|
H A D | qaic_data.c | 916 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 D | hmm.c | 49 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 D | hmm.c | 55 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
|