/third_party/mesa3d/src/broadcom/simulator/ |
H A D | v3d_simulator.c | 391 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 D | vc4_cl.c | 63 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 D | vc4_job.c | 38 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 D | vc4_screen.h | 90 struct hash_table *bo_handles; member
|
H A D | vc4_screen.c | 104 _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 D | vc4_bufmgr.c | 389 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 D | vc4_simulator.c | 243 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 D | vc4_bufmgr.h | 105 _mesa_hash_table_remove_key(screen->bo_handles, in vc4_bo_unreference()
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
H A D | lima_bo.c | 45 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 D | lima_screen.h | 78 struct hash_table *bo_handles; member
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
H A D | v3d_job.c | 125 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 D | v3d_screen.h | 75 struct hash_table *bo_handles; member
|
H A D | v3d_bufmgr.c | 334 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 D | v3d_bufmgr.h | 99 _mesa_hash_table_remove_key(screen->bo_handles, in v3d_bo_unreference()
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
H A D | pan_job.c | 619 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 D | v3d_drm.h | 194 __u64 bo_handles; member 309 __u32 bo_handles[4]; member 334 __u64 bo_handles; member
|
H A D | panfrost_drm.h | 64 __u64 bo_handles; member
|
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_queue.c | 783 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 D | amdgpu_bo.c | 54 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 D | amdgpu_internal.h | 77 struct handle_table bo_handles; member
|
/third_party/mesa3d/src/gallium/winsys/virgl/drm/ |
H A D | virgl_drm_winsys.c | 90 _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 D | virgl_drm_winsys.h | 99 struct hash_table *bo_handles; member
|
/third_party/mesa3d/src/gallium/winsys/radeon/drm/ |
H A D | radeon_drm_winsys.h | 82 struct hash_table *bo_handles; member
|
/third_party/mesa3d/src/panfrost/vulkan/ |
H A D | panvk_vX_device.c | 64 .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 D | virtgpu_drm.h | 67 __u64 bo_handles; member
|