Home
last modified time | relevance | path

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

/external/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()
/external/libdrm/radeon/
Dradeon_bo_gem.c88 struct drm_gem_open open_arg; in bo_open() local
90 memset(&open_arg, 0, sizeof(open_arg)); in bo_open()
91 open_arg.name = handle; in bo_open()
92 r = drmIoctl(bom->fd, DRM_IOCTL_GEM_OPEN, &open_arg); in bo_open()
97 bo->base.handle = open_arg.handle; in bo_open()
98 bo->base.size = open_arg.size; in bo_open()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.c852 struct drm_gem_open open_arg = {}; in radeon_winsys_bo_from_handle() local
855 memset(&open_arg, 0, sizeof(open_arg)); in radeon_winsys_bo_from_handle()
881 open_arg.name = whandle->handle; in radeon_winsys_bo_from_handle()
882 if (drmIoctl(ws->fd, DRM_IOCTL_GEM_OPEN, &open_arg)) { in radeon_winsys_bo_from_handle()
886 bo->handle = open_arg.handle; in radeon_winsys_bo_from_handle()
893 bo->base.size = open_arg.size; in radeon_winsys_bo_from_handle()
/external/libdrm/amdgpu/
Damdgpu_bo.c287 struct drm_gem_open open_arg = {}; in amdgpu_bo_import() local
366 open_arg.name = shared_handle; in amdgpu_bo_import()
367 r = drmIoctl(dev->flink_fd, DRM_IOCTL_GEM_OPEN, &open_arg); in amdgpu_bo_import()
374 bo->handle = open_arg.handle; in amdgpu_bo_import()
393 bo->alloc_size = open_arg.size; in amdgpu_bo_import()
/external/libdrm/intel/
Dintel_bufmgr_gem.c1086 struct drm_gem_open open_arg; in drm_intel_bo_gem_create_from_name() local
1108 memclear(open_arg); in drm_intel_bo_gem_create_from_name()
1109 open_arg.name = handle; in drm_intel_bo_gem_create_from_name()
1112 &open_arg); in drm_intel_bo_gem_create_from_name()
1127 if (bo_gem->gem_handle == open_arg.handle) { in drm_intel_bo_gem_create_from_name()
1140 bo_gem->bo.size = open_arg.size; in drm_intel_bo_gem_create_from_name()
1148 bo_gem->gem_handle = open_arg.handle; in drm_intel_bo_gem_create_from_name()
1149 bo_gem->bo.handle = open_arg.handle; in drm_intel_bo_gem_create_from_name()