Home
last modified time | relevance | path

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

12

/third_party/libdrm/tests/amdgpu/
Ddeadlock_tests.c230 amdgpu_bo_list_handle bo_list; in amdgpu_deadlock_helper() local
246 &bo_list); in amdgpu_deadlock_helper()
278 ibs_request.resources = bo_list; in amdgpu_deadlock_helper()
299 r = amdgpu_bo_list_destroy(bo_list); in amdgpu_deadlock_helper()
321 amdgpu_bo_list_handle bo_list; in amdgpu_deadlock_sdma() local
343 &bo_list); in amdgpu_deadlock_sdma()
374 ibs_request.resources = bo_list; in amdgpu_deadlock_sdma()
396 r = amdgpu_bo_list_destroy(bo_list); in amdgpu_deadlock_sdma()
418 amdgpu_bo_list_handle bo_list; in bad_access_helper() local
431 &bo_list); in bad_access_helper()
[all …]
Dbasic_tests.c649 amdgpu_bo_list_handle bo_list; in amdgpu_command_submission_gfx_separate_ibs() local
669 ib_result_ce_handle, &bo_list); in amdgpu_command_submission_gfx_separate_ibs()
696 ibs_request.resources = bo_list; in amdgpu_command_submission_gfx_separate_ibs()
721 r = amdgpu_bo_list_destroy(bo_list); in amdgpu_command_submission_gfx_separate_ibs()
740 amdgpu_bo_list_handle bo_list; in amdgpu_command_submission_gfx_shared_ib() local
754 &bo_list); in amdgpu_command_submission_gfx_shared_ib()
780 ibs_request.resources = bo_list; in amdgpu_command_submission_gfx_shared_ib()
801 r = amdgpu_bo_list_destroy(bo_list); in amdgpu_command_submission_gfx_shared_ib()
1000 amdgpu_bo_list_handle bo_list[2]; in amdgpu_semaphore_test() local
1025 NULL, &bo_list[i]); in amdgpu_semaphore_test()
[all …]
Dvm_tests.c104 amdgpu_bo_list_handle bo_list; in amdgpu_vmid_reserve_test() local
123 &bo_list); in amdgpu_vmid_reserve_test()
140 ibs_request.resources = bo_list; in amdgpu_vmid_reserve_test()
158 r = amdgpu_bo_list_destroy(bo_list); in amdgpu_vmid_reserve_test()
Dsyncobj_tests.c97 amdgpu_bo_list_handle bo_list; in syncobj_command_submission_helper() local
114 &bo_list); in syncobj_command_submission_helper()
145 bo_list, in syncobj_command_submission_helper()
164 r = amdgpu_bo_list_destroy(bo_list); in syncobj_command_submission_helper()
/third_party/mesa3d/src/intel/tools/
Derror2aub.c167 find_or_create(struct list_head *bo_list, uint64_t addr, in find_or_create() argument
172 list_for_each_entry(struct bo, bo_entry, bo_list, link) { in find_or_create()
185 list_addtail(&new_bo->link, bo_list); in find_or_create()
294 struct list_head bo_list; in main() local
295 list_inithead(&bo_list); in main()
359 struct bo *bo_entry = find_or_create(&bo_list, ((uint64_t)hi) << 32 | lo, in main()
411 last_bo = find_or_create(&bo_list, ((uint64_t) hi) << 32 | lo, in main()
429 list_for_each_entry(struct bo, bo_entry, &bo_list, link) { in main()
437 list_for_each_entry(struct bo, bo_entry, &bo_list, link) { in main()
447 list_for_each_entry(struct bo, bo_entry, &bo_list, link) { in main()
[all …]
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_cl.c42 list_inithead(&cl->bo_list); in v3dv_cl_init()
48 list_for_each_entry_safe(struct v3dv_bo, bo, &cl->bo_list, list_link) { in v3dv_cl_destroy()
68 list_addtail(&bo->list_link, &cl->bo_list); in cl_alloc_bo()
Dv3dv_cl.h65 struct list_head bo_list; member
Dv3dv_cmd_buffer.c200 list_for_each_entry_safe(struct v3dv_bo, bo, &job->bcl.bo_list, list_link) { in job_destroy_cloned_gpu_cl_resources()
205 list_for_each_entry_safe(struct v3dv_bo, bo, &job->rcl.bo_list, list_link) { in job_destroy_cloned_gpu_cl_resources()
210 list_for_each_entry_safe(struct v3dv_bo, bo, &job->indirect.bo_list, list_link) { in job_destroy_cloned_gpu_cl_resources()
1719 clone_bo_list(cmd_buffer, &clone_job->bcl.bo_list, &job->bcl.bo_list); in v3dv_job_clone_in_cmd_buffer()
1720 clone_bo_list(cmd_buffer, &clone_job->rcl.bo_list, &job->rcl.bo_list); in v3dv_job_clone_in_cmd_buffer()
1721 clone_bo_list(cmd_buffer, &clone_job->indirect.bo_list, in v3dv_job_clone_in_cmd_buffer()
1722 &job->indirect.bo_list); in v3dv_job_clone_in_cmd_buffer()
Dv3dv_queue.c597 assert(list_length(&job->rcl.bo_list) == 1); in handle_cl_job()
598 assert(list_length(&job->bcl.bo_list) >= 1); in handle_cl_job()
600 list_first_entry(&job->bcl.bo_list, struct v3dv_bo, list_link); in handle_cl_job()
/third_party/mesa3d/src/gallium/drivers/asahi/
Dagx_state.h109 BITSET_WORD bo_list[256]; member
296 if (unlikely(bo->handle > (sizeof(batch->bo_list) * 8))) in agx_batch_add_bo()
299 BITSET_SET(batch->bo_list, bo->handle); in agx_batch_add_bo()
Dagx_pipe.c525 BITSET_COUNT(batch->bo_list) + in agx_flush()
532 BITSET_FOREACH_SET(handle, batch->bo_list, sizeof(batch->bo_list) * 8) { in agx_flush()
577 memset(batch->bo_list, 0, sizeof(batch->bo_list)); in agx_flush()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_debug.c70 saved->bo_list = CALLOC(saved->bo_count, sizeof(saved->bo_list[0])); in si_save_cs()
71 if (!saved->bo_list) { in si_save_cs()
75 ws->cs_get_buffer_list(cs, saved->bo_list); in si_save_cs()
87 FREE(saved->bo_list); in si_clear_saved_cs()
549 if (!saved->bo_list) in si_dump_bo_list()
553 qsort(saved->bo_list, saved->bo_count, sizeof(saved->bo_list[0]), (void *)bo_list_compare_va); in si_dump_bo_list()
562 uint64_t va = saved->bo_list[i].vm_address; in si_dump_bo_list()
563 uint64_t size = saved->bo_list[i].bo_size; in si_dump_bo_list()
569 saved->bo_list[i - 1].vm_address + saved->bo_list[i - 1].bo_size; in si_dump_bo_list()
582 if (!(saved->bo_list[i].priority_usage & (1u << j))) in si_dump_bo_list()
Dsi_pipe.h503 struct radeon_bo_list_item *bo_list; member
/third_party/mesa3d/src/gallium/winsys/sw/kms-dri/
Dkms_dri_sw_winsys.c95 struct list_head bo_list; member
200 list_add(&kms_sw_dt->link, &kms_sw->bo_list); in kms_sw_displaytarget_create()
290 LIST_FOR_EACH_ENTRY(kms_sw_dt, &kms_sw->bo_list, link) { in kms_sw_displaytarget_find_and_ref()
351 list_add(&kms_sw_dt->link, &kms_sw->bo_list); in kms_sw_displaytarget_add_from_prime()
492 list_inithead(&ws->bo_list); in kms_dri_create_winsys()
/third_party/libdrm/nouveau/
Dnouveau.c450 DRMINITLISTHEAD(&nvdev->bo_list); in nouveau_device_new()
657 DRMLISTFOREACHENTRY(nvbo, &nvdev->bo_list, head) { in nouveau_bo_wrap_locked()
692 DRMLISTADD(&nvbo->head, &nvdev->bo_list); in nouveau_bo_wrap_locked()
707 DRMLISTADD(&nvbo->head, &nvdev->bo_list); in nouveau_bo_make_global()
735 DRMLISTFOREACHENTRY(nvbo, &nvdev->bo_list, head) { in nouveau_bo_name_ref()
Dprivate.h100 struct nouveau_list bo_list; member
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_drm.c263 vk_realloc(&dev->vk.alloc, dev->bo_list, new_len * sizeof(*dev->bo_list), in tu_bo_init()
268 dev->bo_list = new_ptr; in tu_bo_init()
286 dev->bo_list[idx] = (struct drm_msm_gem_submit_bo) { in tu_bo_init()
297 vk_free(&dev->vk.alloc, dev->bo_list); in tu_bo_init()
388 dev->bo_list[idx] = dev->bo_list[dev->bo_count]; in tu_bo_finish()
389 dev->bo_idx[dev->bo_list[idx].handle] = idx; in tu_bo_finish()
1165 .bos = (uint64_t)(uintptr_t) queue->device->bo_list, in tu_queue_submit_locked()
Dtu_device.c1656 vk_free(&device->vk.alloc, device->bo_list); in tu_CreateDevice()
1709 vk_free(&device->vk.alloc, device->bo_list); in tu_DestroyDevice()
Dtu_private.h405 struct drm_msm_gem_submit_bo *bo_list; member
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_pipe_common.c464 saved->bo_list = CALLOC(saved->bo_count, in radeon_save_cs()
465 sizeof(saved->bo_list[0])); in radeon_save_cs()
466 if (!saved->bo_list) { in radeon_save_cs()
470 ws->cs_get_buffer_list(cs, saved->bo_list); in radeon_save_cs()
482 FREE(saved->bo_list); in radeon_clear_saved_cs()
Dr600_pipe_common.h491 struct radeon_bo_list_item *bo_list; member
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.c1396 uint32_t bo_list = 0; in amdgpu_cs_submit_ib() local
1421 r = amdgpu_bo_list_create_raw(ws->dev, ws->num_buffers, list, &bo_list); in amdgpu_cs_submit_ib()
1451 r = amdgpu_bo_list_create_raw(ws->dev, num_handles, list, &bo_list); in amdgpu_cs_submit_ib()
1595 r = noop ? 0 : amdgpu_cs_submit_raw2(ws->dev, acs->ctx->ctx, bo_list, in amdgpu_cs_submit_ib()
1626 if (bo_list) in amdgpu_cs_submit_ib()
1627 amdgpu_bo_list_destroy_raw(ws->dev, bo_list); in amdgpu_cs_submit_ib()
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_cs.c1485 uint32_t bo_list = 0; in radv_amdgpu_cs_submit() local
1574 request->handles, &bo_list); in radv_amdgpu_cs_submit()
1599 r = amdgpu_cs_submit_raw2(ctx->ws->dev, ctx->ctx, bo_list, num_chunks, chunks, &request->seq_no); in radv_amdgpu_cs_submit()
1617 if (bo_list) in radv_amdgpu_cs_submit()
1618 amdgpu_bo_list_destroy_raw(ctx->ws->dev, bo_list); in radv_amdgpu_cs_submit()
/third_party/libdrm/amdgpu/
Damdgpu_bo.c630 uint32_t bo_list) in amdgpu_bo_list_destroy_raw() argument
636 args.in.list_handle = bo_list; in amdgpu_bo_list_destroy_raw()
Damdgpu.h807 int amdgpu_bo_list_destroy_raw(amdgpu_device_handle dev, uint32_t bo_list);

12