Home
last modified time | relevance | path

Searched refs:flink_name (Results 1 – 11 of 11) sorted by relevance

/external/libdrm/amdgpu/
Damdgpu_bo.c194 if (bo->flink_name) in amdgpu_bo_export_flink()
216 bo->flink_name = flink.name; in amdgpu_bo_export_flink()
222 r = handle_table_insert(&bo->dev->bo_flink_names, bo->flink_name, bo); in amdgpu_bo_export_flink()
240 *shared_handle = bo->flink_name; in amdgpu_bo_export()
263 uint32_t handle = 0, flink_name = 0; in amdgpu_bo_import() local
333 flink_name = shared_handle; in amdgpu_bo_import()
368 if (flink_name) { in amdgpu_bo_import()
369 bo->flink_name = flink_name; in amdgpu_bo_import()
370 r = handle_table_insert(&dev->bo_flink_names, flink_name, in amdgpu_bo_import()
383 if (flink_name && open_arg.handle) in amdgpu_bo_import()
[all …]
Damdgpu_internal.h101 uint32_t flink_name; member
/external/mesa3d/src/gallium/drivers/lima/
Dlima_bo.c106 if (bo->flink_name) in lima_bo_free()
108 (void *)(uintptr_t)bo->flink_name); in lima_bo_free()
370 if (!bo->flink_name) { in lima_bo_export()
378 bo->flink_name = flink.name; in lima_bo_export()
382 (void *)(uintptr_t)bo->flink_name, bo); in lima_bo_export()
385 handle->handle = bo->flink_name; in lima_bo_export()
493 bo->flink_name = h; in lima_bo_import()
508 (void *)(uintptr_t)bo->flink_name, bo); in lima_bo_import()
Dlima_bo.h45 uint32_t flink_name; member
/external/igt-gpu-tools/tests/i915/
Dgem_flink_race.c51 struct flink_name { struct
58 struct flink_name *t = p; in thread_fn_flink_name() argument
83 struct flink_name *threads; in test_flink_name()
/external/igt-gpu-tools/tests/
Ddrm_import_export.c134 uint32_t flink_name; member
153 bo = drm_intel_bo_gem_create_from_name(bufmgr, "buf-shared", t->flink_name); in import_close_thread()
207 igt_assert_eq(drm_intel_bo_flink(bo, &(t_data.flink_name)), 0); in test_import_close_race()
Dprime_self_import.c148 uint32_t handle_import, handle_open, handle_orig, flink_name; in test_with_one_bo_two_files() local
157 flink_name = gem_flink(fd1, handle_orig); in test_with_one_bo_two_files()
158 handle_open = gem_open(fd2, flink_name); in test_with_one_bo_two_files()
/external/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.c76 if (res->flink_name) in virgl_hw_res_destroy()
78 (void *)(uintptr_t)res->flink_name); in virgl_hw_res_destroy()
480 res->flink_name = whandle->handle; in virgl_drm_winsys_resource_create_handle()
502 if (res->flink_name) in virgl_drm_winsys_resource_create_handle()
503 _mesa_hash_table_insert(qdws->bo_names, (void *)(uintptr_t)res->flink_name, res); in virgl_drm_winsys_resource_create_handle()
523 if (!res->flink_name) { in virgl_drm_winsys_resource_get_handle()
530 res->flink_name = flink.name; in virgl_drm_winsys_resource_get_handle()
533 _mesa_hash_table_insert(qdws->bo_names, (void *)(uintptr_t)res->flink_name, res); in virgl_drm_winsys_resource_get_handle()
536 whandle->handle = res->flink_name; in virgl_drm_winsys_resource_get_handle()
Dvirgl_drm_winsys.h49 uint32_t flink_name; member
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.h60 uint32_t flink_name; member
Dradeon_drm_bo.c365 if (bo->flink_name) { in radeon_bo_destroy()
367 (void*)(uintptr_t)bo->flink_name); in radeon_bo_destroy()
1239 bo->flink_name = whandle->handle; in radeon_winsys_bo_from_handle()
1267 if (bo->flink_name) in radeon_winsys_bo_from_handle()
1268 _mesa_hash_table_insert(ws->bo_names, (void*)(uintptr_t)bo->flink_name, bo); in radeon_winsys_bo_from_handle()
1340 if (!bo->flink_name) { in radeon_winsys_bo_get_handle()
1347 bo->flink_name = flink.name; in radeon_winsys_bo_get_handle()
1350 _mesa_hash_table_insert(ws->bo_names, (void*)(uintptr_t)bo->flink_name, bo); in radeon_winsys_bo_get_handle()
1353 whandle->handle = bo->flink_name; in radeon_winsys_bo_get_handle()