Home
last modified time | relevance | path

Searched refs:open_arg (Results 1 – 4 of 4) 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/intel/
Dintel_bufmgr_gem.c953 struct drm_gem_open open_arg; in drm_intel_bo_gem_create_from_name() local
975 VG_CLEAR(open_arg); in drm_intel_bo_gem_create_from_name()
976 open_arg.name = handle; in drm_intel_bo_gem_create_from_name()
979 &open_arg); in drm_intel_bo_gem_create_from_name()
994 if (bo_gem->gem_handle == open_arg.handle) { in drm_intel_bo_gem_create_from_name()
1007 bo_gem->bo.size = open_arg.size; in drm_intel_bo_gem_create_from_name()
1015 bo_gem->gem_handle = open_arg.handle; in drm_intel_bo_gem_create_from_name()
1016 bo_gem->bo.handle = open_arg.handle; in drm_intel_bo_gem_create_from_name()