Home
last modified time | relevance | path

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

/third_party/libdrm/amdgpu/
Damdgpu_bo.c186 if (bo->flink_name) in amdgpu_bo_export_flink()
208 bo->flink_name = flink.name; in amdgpu_bo_export_flink()
214 r = handle_table_insert(&bo->dev->bo_flink_names, bo->flink_name, bo); in amdgpu_bo_export_flink()
232 *shared_handle = bo->flink_name; in amdgpu_bo_export()
255 uint32_t handle = 0, flink_name = 0; in amdgpu_bo_import() local
325 flink_name = shared_handle; in amdgpu_bo_import()
360 if (flink_name) { in amdgpu_bo_import()
361 bo->flink_name = flink_name; in amdgpu_bo_import()
362 r = handle_table_insert(&dev->bo_flink_names, flink_name, in amdgpu_bo_import()
375 if (flink_name && open_arg.handle) in amdgpu_bo_import()
[all …]
Damdgpu_internal.h101 uint32_t flink_name; member
/third_party/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
/third_party/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.c92 if (res->flink_name) in virgl_hw_res_destroy()
94 (void *)(uintptr_t)res->flink_name); in virgl_hw_res_destroy()
539 res->flink_name = whandle->handle; in virgl_drm_winsys_resource_create_handle()
562 if (res->flink_name) in virgl_drm_winsys_resource_create_handle()
563 _mesa_hash_table_insert(qdws->bo_names, (void *)(uintptr_t)res->flink_name, res); in virgl_drm_winsys_resource_create_handle()
635 if (!res->flink_name) { in virgl_drm_winsys_resource_get_handle()
642 res->flink_name = flink.name; in virgl_drm_winsys_resource_get_handle()
645 _mesa_hash_table_insert(qdws->bo_names, (void *)(uintptr_t)res->flink_name, res); in virgl_drm_winsys_resource_get_handle()
648 whandle->handle = res->flink_name; in virgl_drm_winsys_resource_get_handle()
Dvirgl_drm_winsys.h49 uint32_t flink_name; member
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.c362 if (bo->flink_name) { in radeon_bo_destroy()
364 (void*)(uintptr_t)bo->flink_name); in radeon_bo_destroy()
1236 bo->flink_name = whandle->handle; in radeon_winsys_bo_from_handle()
1264 if (bo->flink_name) in radeon_winsys_bo_from_handle()
1265 _mesa_hash_table_insert(ws->bo_names, (void*)(uintptr_t)bo->flink_name, bo); in radeon_winsys_bo_from_handle()
1337 if (!bo->flink_name) { in radeon_winsys_bo_get_handle()
1344 bo->flink_name = flink.name; in radeon_winsys_bo_get_handle()
1347 _mesa_hash_table_insert(ws->bo_names, (void*)(uintptr_t)bo->flink_name, bo); in radeon_winsys_bo_get_handle()
1350 whandle->handle = bo->flink_name; in radeon_winsys_bo_get_handle()
Dradeon_drm_bo.h60 uint32_t flink_name; member