Home
last modified time | relevance | path

Searched refs:bo_handles (Results 1 – 23 of 23) sorted by relevance

/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_cl.c62 uint32_t *current_handles = job->bo_handles.base; in vc4_gem_hindex()
64 for (hindex = 0; hindex < cl_offset(&job->bo_handles) / 4; hindex++) { in vc4_gem_hindex()
71 out = cl_start(&job->bo_handles); in vc4_gem_hindex()
73 cl_end(&job->bo_handles, out); in vc4_gem_hindex()
Dvc4_job.c44 for (int i = 0; i < cl_offset(&job->bo_handles) / 4; i++) { in vc4_job_free()
84 vc4_init_cl(job, &job->bo_handles); in vc4_job_create()
120 for (int i = 0; i < cl_offset(&job->bo_handles) / 4; i++) { in vc4_flush_jobs_reading_resource()
397 cl_ensure_space(&job->bo_handles, 6 * sizeof(uint32_t)); in vc4_job_submit()
436 submit.bo_handles = (uintptr_t)job->bo_handles.base; in vc4_job_submit()
437 submit.bo_handle_count = cl_offset(&job->bo_handles) / 4; in vc4_job_submit()
Dvc4_screen.h86 struct util_hash_table *bo_handles; member
Dvc4_bufmgr.c327 bo = util_hash_table_get(screen->bo_handles, (void*)(uintptr_t)handle); in vc4_bo_open_handle()
347 util_hash_table_set(screen->bo_handles, (void *)(uintptr_t)handle, bo); in vc4_bo_open_handle()
406 util_hash_table_set(bo->screen->bo_handles, (void *)(uintptr_t)bo->handle, bo); in vc4_bo_get_dmabuf()
Dvc4_bufmgr.h99 util_hash_table_remove(screen->bo_handles, in vc4_bo_unreference()
Dvc4_screen.c99 util_hash_table_destroy(screen->bo_handles); in vc4_screen_destroy()
615 screen->bo_handles = util_hash_table_create(handle_hash, handle_compare); in vc4_screen_create()
Dvc4_context.h228 struct vc4_cl bo_handles; member
Dvc4_draw.c66 cl_ensure_space(&job->bo_handles, (2 * 16 + 20) * sizeof(uint32_t)); in vc4_get_draw_cl_space()
/external/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.c65 util_hash_table_remove(qdws->bo_handles, in virgl_hw_res_destroy()
121 util_hash_table_destroy(qdws->bo_handles); in virgl_drm_winsys_destroy()
409 res = util_hash_table_get(qdws->bo_handles, (void*)(uintptr_t)handle); in virgl_drm_winsys_resource_create_handle()
453 util_hash_table_set(qdws->bo_handles, (void *)(uintptr_t)handle, res); in virgl_drm_winsys_resource_create_handle()
493 util_hash_table_set(qdws->bo_handles, (void *)(uintptr_t)res->bo_handle, res); in virgl_drm_winsys_resource_get_handle()
679 eb.bo_handles = (unsigned long)(void *)cbuf->res_hlist; in virgl_drm_winsys_submit_cmd()
781 qdws->bo_handles = util_hash_table_create(handle_hash, handle_compare); in virgl_drm_winsys_create()
Dvirgl_drm_winsys.h64 struct util_hash_table *bo_handles; member
Dvirtgpu_drm.h57 uint64_t bo_handles; member
/external/libdrm/amdgpu/
Damdgpu_bo.c60 util_hash_table_remove(bo->dev->bo_handles, in amdgpu_bo_free_internal()
201 util_hash_table_set(bo->dev->bo_handles, in amdgpu_add_handle_to_table()
329 bo = util_hash_table_get(dev->bo_handles, in amdgpu_bo_import()
412 util_hash_table_set(dev->bo_handles, (void*)(uintptr_t)bo->handle, bo); in amdgpu_bo_import()
Damdgpu_device.c139 util_hash_table_destroy(dev->bo_handles); in amdgpu_device_free_internal()
242 dev->bo_handles = util_hash_table_create(handle_hash, handle_compare); in amdgpu_device_initialize()
Damdgpu_internal.h80 struct util_hash_table *bo_handles; member
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_winsys.h95 struct util_hash_table *bo_handles; member
Dradeon_drm_bo.c340 util_hash_table_remove(rws->bo_handles, (void*)(uintptr_t)bo->handle); in radeon_bo_destroy()
1048 util_hash_table_set(ws->bo_handles, (void*)(uintptr_t)bo->handle, bo); in radeon_winsys_bo_create()
1095 util_hash_table_set(ws->bo_handles, (void*)(uintptr_t)bo->handle, bo); in radeon_winsys_bo_from_ptr()
1171 bo = util_hash_table_get(ws->bo_handles, (void*)(uintptr_t)handle); in radeon_winsys_bo_from_handle()
1232 util_hash_table_set(ws->bo_handles, (void*)(uintptr_t)bo->handle, bo); in radeon_winsys_bo_from_handle()
Dradeon_drm_winsys.c560 util_hash_table_destroy(ws->bo_handles); in radeon_winsys_destroy()
813 ws->bo_handles = util_hash_table_create(handle_hash, handle_compare); in radeon_drm_winsys_create()
/external/libdrm/include/drm/
Dvirtgpu_drm.h60 __u64 bo_handles; member
Dvc4_drm.h113 __u64 bo_handles; member
/external/kernel-headers/original/uapi/drm/
Dvirtgpu_drm.h60 __u64 bo_handles; member
Dvc4_drm.h113 __u64 bo_handles; member
/external/libdrm/
Dxf86drmMode.h372 uint32_t pixel_format, uint32_t bo_handles[4],
378 uint32_t pixel_format, uint32_t bo_handles[4],
Dxf86drmMode.c274 uint32_t pixel_format, uint32_t bo_handles[4], in drmModeAddFB2WithModifiers()
286 memcpy(f.handles, bo_handles, 4 * sizeof(bo_handles[0])); in drmModeAddFB2WithModifiers()
300 uint32_t pixel_format, uint32_t bo_handles[4], in drmModeAddFB2()
305 pixel_format, bo_handles, in drmModeAddFB2()