Home
last modified time | relevance | path

Searched refs:open_arg (Results 1 – 10 of 10) sorted by relevance

/third_party/libdrm/tests/radeon/
Drbo.c54 struct drm_gem_open open_arg; in rbo() local
56 memset(&open_arg, 0, sizeof(open_arg)); in rbo()
57 open_arg.name = handle; in rbo()
58 r = drmIoctl(fd, DRM_IOCTL_GEM_OPEN, &open_arg); in rbo()
63 bo->handle = open_arg.handle; in rbo()
/third_party/libdrm/radeon/
Dradeon_bo_gem.c85 struct drm_gem_open open_arg; in bo_open() local
87 memset(&open_arg, 0, sizeof(open_arg)); in bo_open()
88 open_arg.name = handle; in bo_open()
89 r = drmIoctl(bom->fd, DRM_IOCTL_GEM_OPEN, &open_arg); in bo_open()
94 bo->base.handle = open_arg.handle; in bo_open()
95 bo->base.size = open_arg.size; in bo_open()
/third_party/libdrm/amdgpu/
Damdgpu_bo.c261 struct drm_gem_open open_arg = {}; in amdgpu_bo_import() local
328 open_arg.name = shared_handle; in amdgpu_bo_import()
329 r = drmIoctl(dev->flink_fd, DRM_IOCTL_GEM_OPEN, &open_arg); in amdgpu_bo_import()
334 handle = open_arg.handle; in amdgpu_bo_import()
335 alloc_size = open_arg.size; in amdgpu_bo_import()
346 open_arg.handle); in amdgpu_bo_import()
350 open_arg.handle = 0; in amdgpu_bo_import()
383 if (flink_name && open_arg.handle) in amdgpu_bo_import()
384 amdgpu_close_kms_handle(dev->flink_fd, open_arg.handle); in amdgpu_bo_import()
/third_party/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.c472 struct drm_gem_open open_arg = {}; in virgl_drm_winsys_resource_create_handle() local
531 memset(&open_arg, 0, sizeof(open_arg)); in virgl_drm_winsys_resource_create_handle()
532 open_arg.name = whandle->handle; in virgl_drm_winsys_resource_create_handle()
533 if (drmIoctl(qdws->fd, DRM_IOCTL_GEM_OPEN, &open_arg)) { in virgl_drm_winsys_resource_create_handle()
538 res->bo_handle = open_arg.handle; in virgl_drm_winsys_resource_create_handle()
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.c1232 struct drm_gem_open open_arg = {}; in radeon_winsys_bo_from_handle() local
1233 memset(&open_arg, 0, sizeof(open_arg)); in radeon_winsys_bo_from_handle()
1235 open_arg.name = whandle->handle; in radeon_winsys_bo_from_handle()
1236 if (drmIoctl(ws->fd, DRM_IOCTL_GEM_OPEN, &open_arg)) { in radeon_winsys_bo_from_handle()
1240 handle = open_arg.handle; in radeon_winsys_bo_from_handle()
1241 size = open_arg.size; in radeon_winsys_bo_from_handle()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_bufmgr.c543 struct drm_gem_open open_arg = { .name = handle }; in crocus_bo_gem_create_from_name() local
544 int ret = intel_ioctl(bufmgr->fd, DRM_IOCTL_GEM_OPEN, &open_arg); in crocus_bo_gem_create_from_name()
555 bo = find_and_ref_external_bo(bufmgr->handle_table, open_arg.handle); in crocus_bo_gem_create_from_name()
565 bo->size = open_arg.size; in crocus_bo_gem_create_from_name()
568 bo->gem_handle = open_arg.handle; in crocus_bo_gem_create_from_name()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_bufmgr.c789 struct drm_gem_open open_arg = { .name = handle }; in brw_bo_gem_create_from_name() local
790 int ret = drmIoctl(bufmgr->fd, DRM_IOCTL_GEM_OPEN, &open_arg); in brw_bo_gem_create_from_name()
801 bo = hash_find_bo(bufmgr->handle_table, open_arg.handle); in brw_bo_gem_create_from_name()
813 bo->size = open_arg.size; in brw_bo_gem_create_from_name()
816 bo->gem_handle = open_arg.handle; in brw_bo_gem_create_from_name()
/third_party/libdrm/intel/
Dintel_bufmgr_gem.c1108 struct drm_gem_open open_arg; in drm_intel_bo_gem_create_from_name() local
1124 memclear(open_arg); in drm_intel_bo_gem_create_from_name()
1125 open_arg.name = handle; in drm_intel_bo_gem_create_from_name()
1128 &open_arg); in drm_intel_bo_gem_create_from_name()
1140 &open_arg.handle, sizeof(open_arg.handle), bo_gem); in drm_intel_bo_gem_create_from_name()
1153 bo_gem->bo.size = open_arg.size; in drm_intel_bo_gem_create_from_name()
1160 bo_gem->gem_handle = open_arg.handle; in drm_intel_bo_gem_create_from_name()
1161 bo_gem->bo.handle = open_arg.handle; in drm_intel_bo_gem_create_from_name()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_bufmgr.c1174 struct drm_gem_open open_arg = { .name = handle }; in iris_bo_gem_create_from_name() local
1175 int ret = intel_ioctl(bufmgr->fd, DRM_IOCTL_GEM_OPEN, &open_arg); in iris_bo_gem_create_from_name()
1186 bo = find_and_ref_external_bo(bufmgr->handle_table, open_arg.handle); in iris_bo_gem_create_from_name()
1196 bo->size = open_arg.size; in iris_bo_gem_create_from_name()
1198 bo->gem_handle = open_arg.handle; in iris_bo_gem_create_from_name()
/third_party/gettext/build-aux/
Dtexi2html17619 open_arg($macro, 0, $state);
17796 open_arg($format->{'command'},0, $state);
18192 open_arg ($macro, $stack->[-1]->{'arg_nr'}, $state);
18241 sub open_arg($$$) subroutine
18305 open_arg ('cmd_line', 0, $state);