/third_party/libdrm/tests/amdgpu/ |
D | deadlock_tests.c | 248 amdgpu_bo_list_handle bo_list; in amdgpu_deadlock_helper() local 264 &bo_list); in amdgpu_deadlock_helper() 296 ibs_request.resources = bo_list; in amdgpu_deadlock_helper() 317 r = amdgpu_bo_list_destroy(bo_list); in amdgpu_deadlock_helper() 339 amdgpu_bo_list_handle bo_list; in amdgpu_deadlock_sdma() local 361 &bo_list); in amdgpu_deadlock_sdma() 392 ibs_request.resources = bo_list; in amdgpu_deadlock_sdma() 414 r = amdgpu_bo_list_destroy(bo_list); in amdgpu_deadlock_sdma() 436 amdgpu_bo_list_handle bo_list; in bad_access_helper() local 449 &bo_list); in bad_access_helper() [all …]
|
D | hotunplug_tests.c | 192 amdgpu_bo_list_handle bo_list; in amdgpu_nop_cs() local 211 r = amdgpu_bo_list_create(device_handle, 1, &ib_result_handle, NULL, &bo_list); in amdgpu_nop_cs() 223 ibs_request.resources = bo_list; in amdgpu_nop_cs() 229 amdgpu_bo_list_destroy(bo_list); in amdgpu_nop_cs() 354 amdgpu_bo_list_handle bo_list; in amdgpu_hotunplug_with_exported_fence() local 383 r = amdgpu_bo_list_create(device_handle, 1, &ib_result_handle, NULL, &bo_list); in amdgpu_hotunplug_with_exported_fence() 395 ibs_request.resources = bo_list; in amdgpu_hotunplug_with_exported_fence() 415 CU_ASSERT_EQUAL(amdgpu_bo_list_destroy(bo_list), 0); in amdgpu_hotunplug_with_exported_fence()
|
D | basic_tests.c | 857 amdgpu_bo_list_handle bo_list; in amdgpu_command_submission_gfx_separate_ibs() local 877 ib_result_ce_handle, &bo_list); in amdgpu_command_submission_gfx_separate_ibs() 904 ibs_request.resources = bo_list; in amdgpu_command_submission_gfx_separate_ibs() 929 r = amdgpu_bo_list_destroy(bo_list); in amdgpu_command_submission_gfx_separate_ibs() 948 amdgpu_bo_list_handle bo_list; in amdgpu_command_submission_gfx_shared_ib() local 962 &bo_list); in amdgpu_command_submission_gfx_shared_ib() 988 ibs_request.resources = bo_list; in amdgpu_command_submission_gfx_shared_ib() 1009 r = amdgpu_bo_list_destroy(bo_list); in amdgpu_command_submission_gfx_shared_ib() 1208 amdgpu_bo_list_handle bo_list[2]; in amdgpu_semaphore_test() local 1241 NULL, &bo_list[i]); in amdgpu_semaphore_test() [all …]
|
D | vm_tests.c | 107 amdgpu_bo_list_handle bo_list; in amdgpu_vmid_reserve_test() local 138 &bo_list); in amdgpu_vmid_reserve_test() 155 ibs_request.resources = bo_list; in amdgpu_vmid_reserve_test() 173 r = amdgpu_bo_list_destroy(bo_list); in amdgpu_vmid_reserve_test()
|
D | syncobj_tests.c | 101 amdgpu_bo_list_handle bo_list; in syncobj_command_submission_helper() local 130 &bo_list); in syncobj_command_submission_helper() 161 bo_list, in syncobj_command_submission_helper() 180 r = amdgpu_bo_list_destroy(bo_list); in syncobj_command_submission_helper()
|
/third_party/mesa3d/src/intel/tools/ |
D | error2aub.c | 167 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/ |
D | v3dv_cl.c | 42 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()
|
D | v3dv_cl.h | 65 struct list_head bo_list; member
|
D | v3dv_cmd_buffer.c | 133 list_for_each_entry_safe(struct v3dv_bo, bo, &job->bcl.bo_list, list_link) { in job_destroy_cloned_gpu_cl_resources() 138 list_for_each_entry_safe(struct v3dv_bo, bo, &job->rcl.bo_list, list_link) { in job_destroy_cloned_gpu_cl_resources() 143 list_for_each_entry_safe(struct v3dv_bo, bo, &job->indirect.bo_list, list_link) { in job_destroy_cloned_gpu_cl_resources() 1642 clone_bo_list(cmd_buffer, &clone_job->bcl.bo_list, &job->bcl.bo_list); in v3dv_job_clone_in_cmd_buffer() 1643 clone_bo_list(cmd_buffer, &clone_job->rcl.bo_list, &job->rcl.bo_list); in v3dv_job_clone_in_cmd_buffer() 1644 clone_bo_list(cmd_buffer, &clone_job->indirect.bo_list, in v3dv_job_clone_in_cmd_buffer() 1645 &job->indirect.bo_list); in v3dv_job_clone_in_cmd_buffer()
|
D | v3dv_queue.c | 754 assert(list_length(&job->rcl.bo_list) == 1); in handle_cl_job() 755 assert(list_length(&job->bcl.bo_list) >= 1); in handle_cl_job() 757 list_first_entry(&job->bcl.bo_list, struct v3dv_bo, list_link); in handle_cl_job()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_debug.c | 70 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() 536 if (!saved->bo_list) in si_dump_bo_list() 540 qsort(saved->bo_list, saved->bo_count, sizeof(saved->bo_list[0]), (void *)bo_list_compare_va); in si_dump_bo_list() 549 uint64_t va = saved->bo_list[i].vm_address; in si_dump_bo_list() 550 uint64_t size = saved->bo_list[i].bo_size; in si_dump_bo_list() 556 saved->bo_list[i - 1].vm_address + saved->bo_list[i - 1].bo_size; in si_dump_bo_list() 569 if (!(saved->bo_list[i].priority_usage & (1u << j))) in si_dump_bo_list()
|
/third_party/mesa3d/src/gallium/drivers/asahi/ |
D | agx_state.h | 111 BITSET_WORD bo_list[256]; member 336 if (unlikely(bo->handle > (sizeof(batch->bo_list) * 8))) in agx_batch_add_bo() 339 BITSET_SET(batch->bo_list, bo->handle); in agx_batch_add_bo()
|
D | agx_pipe.c | 524 BITSET_COUNT(batch->bo_list) + in agx_flush() 531 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/winsys/sw/kms-dri/ |
D | kms_dri_sw_winsys.c | 99 struct list_head bo_list; member 208 list_add(&kms_sw_dt->link, &kms_sw->bo_list); in kms_sw_displaytarget_create() 305 LIST_FOR_EACH_ENTRY(kms_sw_dt, &kms_sw->bo_list, link) { in kms_sw_displaytarget_find_and_ref() 366 list_add(&kms_sw_dt->link, &kms_sw->bo_list); in kms_sw_displaytarget_add_from_prime() 511 list_inithead(&ws->bo_list); in kms_dri_create_winsys()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_drm.c | 218 vk_realloc(&dev->vk.alloc, dev->bo_list, new_len * sizeof(*dev->bo_list), in tu_bo_init() 223 dev->bo_list = new_ptr; in tu_bo_init() 227 dev->bo_list[idx] = (struct drm_msm_gem_submit_bo) { in tu_bo_init() 382 dev->bo_list[bo->bo_list_idx] = dev->bo_list[dev->bo_count]; in tu_bo_finish() 384 struct tu_bo* exchanging_bo = tu_device_lookup_bo(dev, dev->bo_list[bo->bo_list_idx].handle); in tu_bo_finish() 1020 .bos = (uint64_t)(uintptr_t) queue->device->bo_list, in tu_queue_submit_locked()
|
D | tu_device.h | 264 struct drm_msm_gem_submit_bo *bo_list; member
|
/third_party/libdrm/nouveau/ |
D | nouveau.c | 464 DRMINITLISTHEAD(&nvdev->bo_list); in nouveau_device_new() 670 DRMLISTFOREACHENTRY(nvbo, &nvdev->bo_list, head) { in nouveau_bo_wrap_locked() 705 DRMLISTADD(&nvbo->head, &nvdev->bo_list); in nouveau_bo_wrap_locked() 720 DRMLISTADD(&nvbo->head, &nvdev->bo_list); in nouveau_bo_make_global() 748 DRMLISTFOREACHENTRY(nvbo, &nvdev->bo_list, head) { in nouveau_bo_name_ref()
|
D | private.h | 103 struct nouveau_list bo_list; member
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_pipe_common.c | 464 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()
|
D | r600_pipe_common.h | 486 struct radeon_bo_list_item *bo_list; member
|
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_cs.c | 1413 uint32_t bo_list = 0; in amdgpu_cs_submit_ib() local 1442 r = amdgpu_bo_list_create_raw(ws->dev, ws->num_buffers, list, &bo_list); in amdgpu_cs_submit_ib() 1472 r = amdgpu_bo_list_create_raw(ws->dev, num_handles, list, &bo_list); in amdgpu_cs_submit_ib() 1628 r = amdgpu_cs_submit_raw2(ws->dev, acs->ctx->ctx, bo_list, in amdgpu_cs_submit_ib() 1659 if (bo_list) in amdgpu_cs_submit_ib() 1660 amdgpu_bo_list_destroy_raw(ws->dev, bo_list); in amdgpu_cs_submit_ib()
|
/third_party/libdrm/amdgpu/ |
D | amdgpu_bo.c | 622 uint32_t bo_list) in amdgpu_bo_list_destroy_raw() argument 628 args.in.list_handle = bo_list; in amdgpu_bo_list_destroy_raw()
|
D | amdgpu.h | 820 int amdgpu_bo_list_destroy_raw(amdgpu_device_handle dev, uint32_t bo_list);
|
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/ |
D | radv_amdgpu_cs.c | 1732 uint32_t bo_list = 0; in radv_amdgpu_cs_submit() local 1836 request->handles, &bo_list); in radv_amdgpu_cs_submit() 1861 r = amdgpu_cs_submit_raw2(ctx->ws->dev, ctx->ctx, bo_list, num_chunks, chunks, &request->seq_no); in radv_amdgpu_cs_submit() 1879 if (bo_list) in radv_amdgpu_cs_submit() 1880 amdgpu_bo_list_destroy_raw(ctx->ws->dev, bo_list); in radv_amdgpu_cs_submit()
|
/third_party/mesa3d/src/imagination/vulkan/ |
D | pvr_cmd_buffer.c | 138 list_for_each_entry_safe (struct pvr_bo, bo, &cmd_buffer->bo_list, link) { in pvr_cmd_buffer_destroy() 181 list_inithead(&cmd_buffer->bo_list); in pvr_cmd_buffer_create() 335 list_add(&pvr_bo->link, &cmd_buffer->bo_list); in pvr_cmd_buffer_upload_general() 362 list_add(&pvr_bo->link, &cmd_buffer->bo_list); in pvr_cmd_buffer_upload_usc() 395 list_add(&pds_upload_out->pvr_bo->link, &cmd_buffer->bo_list); in pvr_cmd_buffer_upload_pds() 1681 list_add(&pvr_bo->link, &cmd_buffer->bo_list); in pvr_cmd_buffer_alloc_mem() 2492 list_for_each_entry_safe (struct pvr_bo, bo, &cmd_buffer->bo_list, link) { in pvr_cmd_buffer_reset()
|