Home
last modified time | relevance | path

Searched refs:flink (Results 1 – 25 of 29) sorted by relevance

12

/external/igt-gpu-tools/tests/i915/
Dgem_flink_basic.c45 struct drm_gem_flink flink; in test_flink() local
56 flink.handle = create.handle; in test_flink()
57 ret = ioctl(fd, DRM_IOCTL_GEM_FLINK, &flink); in test_flink()
60 open_struct.name = flink.name; in test_flink()
70 struct drm_gem_flink flink; in test_double_flink() local
81 flink.handle = create.handle; in test_double_flink()
82 ret = ioctl(fd, DRM_IOCTL_GEM_FLINK, &flink); in test_double_flink()
90 igt_assert(flink2.name == flink.name); in test_double_flink()
96 struct drm_gem_flink flink; in test_bad_flink() local
101 flink.handle = 0x10101010; in test_bad_flink()
[all …]
Dgem_render_copy_redux.c161 struct igt_buf flink; in copy_flink() local
182 flink = local_dst; in copy_flink()
183 flink.bo = drm_intel_bo_gem_create_from_name(data->bufmgr, "flink", name); in copy_flink()
186 &flink, 0, 0, WIDTH, HEIGHT, in copy_flink()
196 scratch_buf_fini(data, &flink); in copy_flink()
Dgem_flink_race.c131 struct drm_gem_flink flink; in thread_fn_flink_close() local
142 flink.handle = 1; in thread_fn_flink_close()
143 ioctl(fd, DRM_IOCTL_GEM_FLINK, &flink); in thread_fn_flink_close()
Dgem_mmap_gtt.c86 uint32_t handle, flink, handle2; in test_access() local
107 flink = gem_flink(fd, handle); in test_access()
108 igt_assert(flink); in test_access()
109 handle2 = gem_open(fd2, flink); in test_access()
Dgem_userptr_blits.c1454 .flink = flink_userptr_bo,
/external/igt-gpu-tools/tools/
Dintel_framebuffer_dump.c55 struct drm_gem_flink flink; in main() local
68 flink.handle = fb->handle; in main()
69 if (drmIoctl(fd, DRM_IOCTL_GEM_FLINK, &flink)) { in main()
74 open_arg.name = flink.name; in main()
/external/mesa3d/src/gallium/winsys/i915/drm/
Di915_drm_buffer.c38 buf->flink = 0; in i915_drm_buffer_create()
70 buf->flink = 0; in i915_drm_buffer_create_tiled()
121 buf->flink = whandle->handle; in i915_drm_buffer_from_handle()
148 if (drm_intel_bo_flink(buf->bo, &buf->flink)) in i915_drm_buffer_get_handle()
153 whandle->handle = buf->flink; in i915_drm_buffer_get_handle()
Di915_drm_winsys.h58 unsigned flink; member
/external/igt-gpu-tools/lib/
Dioctl_wrappers.c107 struct drm_gem_flink flink; in gem_handle_to_libdrm_bo() local
111 memset(&flink, 0, sizeof(handle)); in gem_handle_to_libdrm_bo()
112 flink.handle = handle; in gem_handle_to_libdrm_bo()
113 ret = ioctl(fd, DRM_IOCTL_GEM_FLINK, &flink); in gem_handle_to_libdrm_bo()
117 bo = drm_intel_bo_gem_create_from_name(bufmgr, name, flink.name); in gem_handle_to_libdrm_bo()
295 struct drm_gem_flink flink; in gem_flink() local
298 memset(&flink, 0, sizeof(flink)); in gem_flink()
299 flink.handle = handle; in gem_flink()
300 ret = ioctl(fd, DRM_IOCTL_GEM_FLINK, &flink); in gem_flink()
304 return flink.name; in gem_flink()
/external/llvm-project/openmp/runtime/src/
Dkmp_alloc.cpp132 struct bfhead *flink; /* Forward link */ member
238 data->freelist[i].ql.flink = &data->freelist[i]; in set_thr_data()
305 p = (void *)b->ql.flink; in __kmp_bget_dequeue()
335 b->ql.flink = BFH(CCAST(void *, old_value)); in __kmp_bget_enqueue()
343 b->ql.flink = BFH(CCAST(void *, old_value)); in __kmp_bget_enqueue()
353 b->ql.flink = BFH(th->th.th_local.bget_list); in __kmp_bget_enqueue()
373 KMP_DEBUG_ASSERT(thr->freelist[bin].ql.blink->ql.flink == in __kmp_bget_insert_into_freelist()
375 KMP_DEBUG_ASSERT(thr->freelist[bin].ql.flink->ql.blink == in __kmp_bget_insert_into_freelist()
378 b->ql.flink = &thr->freelist[bin]; in __kmp_bget_insert_into_freelist()
382 b->ql.blink->ql.flink = b; in __kmp_bget_insert_into_freelist()
[all …]
/external/igt-gpu-tools/tests/
Deviction_common.c36 void (*flink)(uint32_t old_handle, uint32_t new_handle); member
279 uint32_t flink = gem_flink(fd, bo[l]); in forking_evictions() local
281 bo[l] = gem_open(realfd, flink); in forking_evictions()
282 if (ops->flink) in forking_evictions()
283 ops->flink(handle, bo[l]); in forking_evictions()
/external/libdrm/radeon/
Dradeon_bo_gem.c326 struct drm_gem_flink flink; in radeon_gem_get_kernel_name() local
333 flink.handle = bo->handle; in radeon_gem_get_kernel_name()
334 r = drmIoctl(boi->bom->fd, DRM_IOCTL_GEM_FLINK, &flink); in radeon_gem_get_kernel_name()
338 bo_gem->name = flink.name; in radeon_gem_get_kernel_name()
339 *name = flink.name; in radeon_gem_get_kernel_name()
/external/llvm-project/llvm/test/Transforms/Coroutines/
Dcoro-debug.ll110 !6 = distinct !DISubprogram(name: "f", linkageName: "flink", scope: !7, file: !7, line: 55, type: !…
138 ; CHECK: ![[ORIG]] = distinct !DISubprogram(name: "f", linkageName: "flink"
140 ; CHECK: ![[RESUME]] = distinct !DISubprogram(name: "f", linkageName: "flink"
143 ; CHECK: ![[DESTROY]] = distinct !DISubprogram(name: "f", linkageName: "flink"
145 ; CHECK: ![[CLEANUP]] = distinct !DISubprogram(name: "f", linkageName: "flink"
/external/igt-gpu-tools/overlay/x11/
Dx11-overlay.c128 struct drm_gem_flink flink; in x11_overlay_create() local
217 flink.handle = create.handle; in x11_overlay_create()
218 if (drmIoctl(fd, DRM_IOCTL_GEM_FLINK, &flink)) in x11_overlay_create()
267 priv->name = flink.name; in x11_overlay_create()
/external/libdrm/amdgpu/
Damdgpu_bo.c187 struct drm_gem_flink flink; in amdgpu_bo_export_flink() local
209 memset(&flink, 0, sizeof(flink)); in amdgpu_bo_export_flink()
210 flink.handle = handle; in amdgpu_bo_export_flink()
212 r = drmIoctl(fd, DRM_IOCTL_GEM_FLINK, &flink); in amdgpu_bo_export_flink()
216 bo->flink_name = flink.name; in amdgpu_bo_export_flink()
/external/mesa3d/src/gallium/drivers/lima/
Dlima_bo.c371 struct drm_gem_flink flink = { in lima_bo_export() local
375 if (drmIoctl(screen->fd, DRM_IOCTL_GEM_FLINK, &flink)) in lima_bo_export()
378 bo->flink_name = flink.name; in lima_bo_export()
/external/mesa3d/src/gallium/drivers/v3d/
Dv3d_bufmgr.c438 struct drm_gem_flink flink = { in v3d_bo_flink() local
441 int ret = v3d_ioctl(bo->screen->fd, DRM_IOCTL_GEM_FLINK, &flink); in v3d_bo_flink()
450 *name = flink.name; in v3d_bo_flink()
/external/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.c517 struct drm_gem_flink flink; in virgl_drm_winsys_resource_get_handle() local
524 memset(&flink, 0, sizeof(flink)); in virgl_drm_winsys_resource_get_handle()
525 flink.handle = res->bo_handle; in virgl_drm_winsys_resource_get_handle()
527 if (drmIoctl(qdws->fd, DRM_IOCTL_GEM_FLINK, &flink)) { in virgl_drm_winsys_resource_get_handle()
530 res->flink_name = flink.name; in virgl_drm_winsys_resource_get_handle()
/external/igt-gpu-tools/tests/intel-ci/
Dfast-feedback.testlist61 igt@gem_flink_basic@bad-flink
64 igt@gem_flink_basic@double-flink
65 igt@gem_flink_basic@flink-lifetime
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_bufmgr.c515 struct drm_gem_flink flink = { in vc4_bo_flink() local
518 int ret = vc4_ioctl(bo->screen->fd, DRM_IOCTL_GEM_FLINK, &flink); in vc4_bo_flink()
527 *name = flink.name; in vc4_bo_flink()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.c1327 struct drm_gem_flink flink; in radeon_winsys_bo_get_handle() local
1335 memset(&flink, 0, sizeof(flink)); in radeon_winsys_bo_get_handle()
1341 flink.handle = bo->handle; in radeon_winsys_bo_get_handle()
1343 if (ioctl(ws->fd, DRM_IOCTL_GEM_FLINK, &flink)) { in radeon_winsys_bo_get_handle()
1347 bo->flink_name = flink.name; in radeon_winsys_bo_get_handle()
/external/mesa3d/src/gallium/drivers/iris/
Diris_bufmgr.c1525 struct drm_gem_flink flink = { .handle = bo->gem_handle }; in iris_bo_flink() local
1527 if (gen_ioctl(bufmgr->fd, DRM_IOCTL_GEM_FLINK, &flink)) in iris_bo_flink()
1533 bo->global_name = flink.name; in iris_bo_flink()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_bufmgr.c1608 struct drm_gem_flink flink = { .handle = bo->gem_handle }; in brw_bo_flink() local
1610 if (drmIoctl(bufmgr->fd, DRM_IOCTL_GEM_FLINK, &flink)) in brw_bo_flink()
1616 bo->global_name = flink.name; in brw_bo_flink()
/external/mesa3d/docs/relnotes/
D9.1.1.rst180 - winsys/radeon: Only add bo to hash table when creating flink
/external/libdrm/intel/
Dintel_bufmgr_gem.c2746 struct drm_gem_flink flink; in drm_intel_gem_bo_flink() local
2748 memclear(flink); in drm_intel_gem_bo_flink()
2749 flink.handle = bo_gem->gem_handle; in drm_intel_gem_bo_flink()
2750 if (drmIoctl(bufmgr_gem->fd, DRM_IOCTL_GEM_FLINK, &flink)) in drm_intel_gem_bo_flink()
2755 bo_gem->global_name = flink.name; in drm_intel_gem_bo_flink()

12