Searched refs:open_arg (Results 1 – 7 of 7) sorted by relevance
/external/libdrm/tests/radeon/ |
D | rbo.c | 54 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/ |
D | radeon_bo_gem.c | 85 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()
|
/external/libdrm/amdgpu/ |
D | amdgpu_bo.c | 261 struct drm_gem_open open_arg = {}; in amdgpu_bo_import() local 340 open_arg.name = shared_handle; in amdgpu_bo_import() 341 r = drmIoctl(dev->flink_fd, DRM_IOCTL_GEM_OPEN, &open_arg); in amdgpu_bo_import() 348 bo->handle = open_arg.handle; in amdgpu_bo_import() 367 bo->alloc_size = open_arg.size; in amdgpu_bo_import()
|
/external/mesa3d/src/gallium/winsys/virgl/drm/ |
D | virgl_drm_winsys.c | 388 struct drm_gem_open open_arg = {}; in virgl_drm_winsys_resource_create_handle() local 435 memset(&open_arg, 0, sizeof(open_arg)); in virgl_drm_winsys_resource_create_handle() 436 open_arg.name = whandle->handle; in virgl_drm_winsys_resource_create_handle() 437 if (drmIoctl(qdws->fd, DRM_IOCTL_GEM_OPEN, &open_arg)) { in virgl_drm_winsys_resource_create_handle() 442 res->bo_handle = open_arg.handle; in virgl_drm_winsys_resource_create_handle()
|
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_bo.c | 1155 struct drm_gem_open open_arg = {}; in radeon_winsys_bo_from_handle() local 1156 memset(&open_arg, 0, sizeof(open_arg)); in radeon_winsys_bo_from_handle() 1158 open_arg.name = whandle->handle; in radeon_winsys_bo_from_handle() 1159 if (drmIoctl(ws->fd, DRM_IOCTL_GEM_OPEN, &open_arg)) { in radeon_winsys_bo_from_handle() 1163 handle = open_arg.handle; in radeon_winsys_bo_from_handle() 1164 size = open_arg.size; in radeon_winsys_bo_from_handle()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_bufmgr.c | 508 struct drm_gem_open open_arg = { .name = handle }; in brw_bo_gem_create_from_name() local 509 int ret = drmIoctl(bufmgr->fd, DRM_IOCTL_GEM_OPEN, &open_arg); in brw_bo_gem_create_from_name() 520 bo = hash_find_bo(bufmgr->handle_table, open_arg.handle); in brw_bo_gem_create_from_name() 532 bo->size = open_arg.size; in brw_bo_gem_create_from_name() 535 bo->gem_handle = open_arg.handle; in brw_bo_gem_create_from_name()
|
/external/libdrm/intel/ |
D | intel_bufmgr_gem.c | 1086 struct drm_gem_open open_arg; in drm_intel_bo_gem_create_from_name() local 1103 memclear(open_arg); in drm_intel_bo_gem_create_from_name() 1104 open_arg.name = handle; in drm_intel_bo_gem_create_from_name() 1107 &open_arg); in drm_intel_bo_gem_create_from_name() 1119 &open_arg.handle, sizeof(open_arg.handle), bo_gem); in drm_intel_bo_gem_create_from_name() 1132 bo_gem->bo.size = open_arg.size; in drm_intel_bo_gem_create_from_name() 1139 bo_gem->gem_handle = open_arg.handle; in drm_intel_bo_gem_create_from_name() 1140 bo_gem->bo.handle = open_arg.handle; in drm_intel_bo_gem_create_from_name()
|