Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/broadcom/simulator/
H A Dv3d_simulator.c391 uint32_t *bo_handles = (uint32_t *)(uintptr_t)submit->bo_handles; in v3d_simulator_pin_bos() local
394 v3d_simulator_copy_in_handle(file, bo_handles[i]); in v3d_simulator_pin_bos()
403 uint32_t *bo_handles = (uint32_t *)(uintptr_t)submit->bo_handles; in v3d_simulator_unpin_bos() local
406 v3d_simulator_copy_out_handle(file, bo_handles[i]); in v3d_simulator_unpin_bos()
649 v3d_simulator_copy_in_handle(file, args->bo_handles[0]); in v3d_simulator_submit_tfu_ioctl()
650 v3d_simulator_copy_in_handle(file, args->bo_handles[1]); in v3d_simulator_submit_tfu_ioctl()
651 v3d_simulator_copy_in_handle(file, args->bo_handles[2]); in v3d_simulator_submit_tfu_ioctl()
652 v3d_simulator_copy_in_handle(file, args->bo_handles[ in v3d_simulator_submit_tfu_ioctl()
676 uint32_t *bo_handles = (uint32_t *)(uintptr_t)args->bo_handles; v3d_simulator_submit_csd_ioctl() local
[all...]
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_cl.c63 uint32_t *current_handles = job->bo_handles.base; in vc4_gem_hindex()
64 uint32_t cl_hindex_count = cl_offset(&job->bo_handles) / 4; in vc4_gem_hindex()
81 out = cl_start(&job->bo_handles); in vc4_gem_hindex()
83 cl_end(&job->bo_handles, out); in vc4_gem_hindex()
H A Dvc4_job.c38 for (int i = 0; i < cl_offset(&job->bo_handles) / 4; i++) { in vc4_job_free()
82 vc4_init_cl(job, &job->bo_handles); in vc4_job_create()
123 for (int i = 0; i < cl_offset(&job->bo_handles) / 4; i++) { in vc4_flush_jobs_reading_resource()
409 cl_ensure_space(&job->bo_handles, 6 * sizeof(uint32_t)); in vc4_job_submit()
448 submit.bo_handles = (uintptr_t)job->bo_handles.base; in vc4_job_submit()
449 submit.bo_handle_count = cl_offset(&job->bo_handles) / 4; in vc4_job_submit()
H A Dvc4_screen.h90 struct hash_table *bo_handles; member
H A Dvc4_screen.c104 _mesa_hash_table_destroy(screen->bo_handles, NULL); in vc4_screen_destroy()
567 screen->bo_handles = util_hash_table_create_ptr_keys(); in vc4_screen_create()
H A Dvc4_bufmgr.c389 bo = util_hash_table_get(screen->bo_handles, (void*)(uintptr_t)handle); in vc4_bo_open_handle()
408 _mesa_hash_table_insert(screen->bo_handles, (void *)(uintptr_t)handle, bo); in vc4_bo_open_handle()
466 _mesa_hash_table_insert(bo->screen->bo_handles, (void *)(uintptr_t)bo->handle, bo); in vc4_bo_get_dmabuf()
H A Dvc4_simulator.c243 uint32_t *bo_handles = (uint32_t *)(uintptr_t)args->bo_handles; in vc4_simulator_pin_bos() local
249 vc4_get_simulator_bo(file, bo_handles[i]); in vc4_simulator_pin_bos()
H A Dvc4_bufmgr.h105 _mesa_hash_table_remove_key(screen->bo_handles, in vc4_bo_unreference()
/third_party/mesa3d/src/gallium/drivers/lima/
H A Dlima_bo.c45 screen->bo_handles = util_hash_table_create_ptr_keys(); in lima_bo_table_init()
46 if (!screen->bo_handles) in lima_bo_table_init()
57 _mesa_hash_table_destroy(screen->bo_handles, NULL); in lima_bo_table_init()
74 _mesa_hash_table_destroy(screen->bo_handles, NULL); in lima_bo_table_fini()
104 _mesa_hash_table_remove_key(screen->bo_handles, in lima_bo_free()
390 _mesa_hash_table_insert(screen->bo_handles, in lima_bo_export()
403 _mesa_hash_table_insert(screen->bo_handles, in lima_bo_export()
454 bo = util_hash_table_get(screen->bo_handles, in lima_bo_import()
509 _mesa_hash_table_insert(screen->bo_handles, in lima_bo_import()
H A Dlima_screen.h78 struct hash_table *bo_handles; member
/third_party/mesa3d/src/gallium/drivers/v3d/
H A Dv3d_job.c125 uint32_t *bo_handles = (void *)(uintptr_t)job->submit.bo_handles; in v3d_job_add_bo() local
129 bo_handles = reralloc(job, bo_handles, in v3d_job_add_bo()
131 job->submit.bo_handles = (uintptr_t)(void *)bo_handles; in v3d_job_add_bo()
133 bo_handles[job->submit.bo_handle_count++] = bo->handle; in v3d_job_add_bo()
H A Dv3d_screen.h75 struct hash_table *bo_handles; member
H A Dv3d_bufmgr.c334 bo = util_hash_table_get(screen->bo_handles, (void*)(uintptr_t)handle); in v3d_bo_open_handle()
368 _mesa_hash_table_insert(screen->bo_handles, (void *)(uintptr_t)handle, bo); in v3d_bo_open_handle()
429 _mesa_hash_table_insert(bo->screen->bo_handles, (void *)(uintptr_t)bo->handle, bo); in v3d_bo_get_dmabuf()
H A Dv3d_bufmgr.h99 _mesa_hash_table_remove_key(screen->bo_handles, in v3d_bo_unreference()
/third_party/mesa3d/src/gallium/drivers/panfrost/
H A Dpan_job.c619 uint32_t *bo_handles; in panfrost_batch_submit_ioctl() local
638 bo_handles = calloc(panfrost_pool_num_bos(&batch->pool) + in panfrost_batch_submit_ioctl()
641 sizeof(*bo_handles)); in panfrost_batch_submit_ioctl()
642 assert(bo_handles); in panfrost_batch_submit_ioctl()
652 bo_handles[submit.bo_handle_count++] = i; in panfrost_batch_submit_ioctl()
666 panfrost_pool_get_bo_handles(&batch->pool, bo_handles + submit.bo_handle_count); in panfrost_batch_submit_ioctl()
668 panfrost_pool_get_bo_handles(&batch->invisible_pool, bo_handles + submit.bo_handle_count); in panfrost_batch_submit_ioctl()
676 bo_handles[submit.bo_handle_count++] = dev->tiler_heap->gem_handle; in panfrost_batch_submit_ioctl()
679 bo_handles[submit.bo_handle_count++] = dev->sample_positions->gem_handle; in panfrost_batch_submit_ioctl()
681 submit.bo_handles in panfrost_batch_submit_ioctl()
[all...]
/third_party/mesa3d/include/drm-uapi/
H A Dv3d_drm.h194 __u64 bo_handles; member
309 __u32 bo_handles[4]; member
334 __u64 bo_handles; member
H A Dpanfrost_drm.h64 __u64 bo_handles; member
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dv_queue.c783 uint32_t *bo_handles = in handle_cl_job() local
788 bo_handles[bo_idx++] = bo->handle; in handle_cl_job()
791 submit.bo_handles = (uintptr_t)(void *)bo_handles; in handle_cl_job()
862 free(bo_handles); in handle_cl_job()
938 uint32_t *bo_handles = in handle_csd_job() local
943 bo_handles[bo_idx++] = bo->handle; in handle_csd_job()
946 submit->bo_handles = (uintptr_t)(void *)bo_handles; in handle_csd_job()
983 free(bo_handles); in handle_csd_job()
[all...]
/third_party/libdrm/amdgpu/
H A Damdgpu_bo.c54 r = handle_table_insert(&dev->bo_handles, handle, bo); in amdgpu_bo_create()
293 bo = handle_table_lookup(&dev->bo_handles, shared_handle); in amdgpu_bo_import()
398 handle_table_remove(&dev->bo_handles, bo->handle); in amdgpu_bo_free()
549 for (i = 0; i < dev->bo_handles.max_key; i++) { in amdgpu_find_bo_by_cpu_mapping()
550 bo = handle_table_lookup(&dev->bo_handles, i); in amdgpu_find_bo_by_cpu_mapping()
558 if (i < dev->bo_handles.max_key) { in amdgpu_find_bo_by_cpu_mapping()
H A Damdgpu_internal.h77 struct handle_table bo_handles; member
/third_party/mesa3d/src/gallium/winsys/virgl/drm/
H A Dvirgl_drm_winsys.c90 _mesa_hash_table_remove_key(qdws->bo_handles, in virgl_hw_res_destroy()
135 _mesa_hash_table_destroy(qdws->bo_handles, NULL); in virgl_drm_winsys_destroy()
507 res = util_hash_table_get(qdws->bo_handles, (void*)(uintptr_t)handle); in virgl_drm_winsys_resource_create_handle()
564 _mesa_hash_table_insert(qdws->bo_handles, (void *)(uintptr_t)res->bo_handle, res); in virgl_drm_winsys_resource_create_handle()
614 eb.bo_handles = (uintptr_t)&res->bo_handle; in virgl_drm_winsys_resource_set_type()
655 _mesa_hash_table_insert(qdws->bo_handles, (void *)(uintptr_t)res->bo_handle, res); in virgl_drm_winsys_resource_get_handle()
952 eb.bo_handles = (unsigned long)(void *)cbuf->res_hlist; in virgl_drm_winsys_submit_cmd()
1242 qdws->bo_handles = util_hash_table_create_ptr_keys(); in virgl_drm_winsys_create()
H A Dvirgl_drm_winsys.h99 struct hash_table *bo_handles; member
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
H A Dradeon_drm_winsys.h82 struct hash_table *bo_handles; member
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_vX_device.c64 .bo_handles = (uintptr_t)bos, in panvk_queue_submit_batch()
89 .bo_handles = (uintptr_t)bos, in panvk_queue_submit_batch()
/third_party/libdrm/include/drm/
H A Dvirtgpu_drm.h67 __u64 bo_handles; member

Completed in 19 milliseconds

12