Home
last modified time | relevance | path

Searched refs:flink (Results 1 – 25 of 32) 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()
/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/gfxstream-protocols/registry/vulkan/
DChangeLog.txt121 * Fix typo in flink:vkCmdSetScissor (public pull request 1659).
152 * Add a NOTE to flink:vkDestroyQueryPool clarifying when a query pool can
222 flink:vkDestroyDevice (public issue 1482).
223 * Clarify requirements of flink:vkGetInstanceProcAddr to match that of the
231 * Fix flink:vkCmdEndDebugUtilsLabelEXT to clarify command buffer recording
344 * Add a NOTE to flink:vkAllocateMemory.txt about protected memory
404 * Add parent check valid usage statements to flink:vkUpdateDescriptors
467 * Add valid usage statement for flink:vkCmdBeginTransformFeedbackEXT
473 * Add explicit valid usage statements to flink:vkWaitForPresentKHR and
506 match similar statement for flink:vkGetDeviceQueue, and split off part
[all …]
/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/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.c321 struct drm_gem_flink flink; in radeon_gem_get_kernel_name() local
328 flink.handle = bo->handle; in radeon_gem_get_kernel_name()
329 r = drmIoctl(boi->bom->fd, DRM_IOCTL_GEM_FLINK, &flink); in radeon_gem_get_kernel_name()
333 bo_gem->name = flink.name; in radeon_gem_get_kernel_name()
334 *name = flink.name; in radeon_gem_get_kernel_name()
/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.c179 struct drm_gem_flink flink; in amdgpu_bo_export_flink() local
201 memset(&flink, 0, sizeof(flink)); in amdgpu_bo_export_flink()
202 flink.handle = handle; in amdgpu_bo_export_flink()
204 r = drmIoctl(fd, DRM_IOCTL_GEM_FLINK, &flink); in amdgpu_bo_export_flink()
208 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/wpa_supplicant_8/src/drivers/
Ddriver_nl80211.c282 drv->first_bss->flink->freq = 0; in nl80211_mark_disconnected()
924 if (ieee80211_freq_to_chan(bss->flink->freq, &channel) != in nl80211_get_wiphy_data_ap()
2338 bss->flink = &bss->links[0]; in wpa_driver_nl80211_drv_init()
2340 os_memcpy(bss->flink->addr, bss->addr, ETH_ALEN); in wpa_driver_nl80211_drv_init()
4282 bss->flink->freq); in wpa_driver_nl80211_send_mlme()
4283 freq = bss->flink->freq; in wpa_driver_nl80211_send_mlme()
4285 if ((int) freq == bss->flink->freq) in wpa_driver_nl80211_send_mlme()
4347 bss->flink->freq); in wpa_driver_nl80211_send_mlme()
4348 freq = bss->flink->freq; in wpa_driver_nl80211_send_mlme()
4354 freq, bss->flink->freq); in wpa_driver_nl80211_send_mlme()
[all …]
Ddriver_nl80211.h70 struct i802_link *flink; member
/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/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/docs/relnotes/
D9.1.1.rst180 - winsys/radeon: Only add bo to hash table when creating flink
/external/libdrm/intel/
Dintel_bufmgr_gem.c2673 struct drm_gem_flink flink; in drm_intel_gem_bo_flink() local
2675 memclear(flink); in drm_intel_gem_bo_flink()
2676 flink.handle = bo_gem->gem_handle; in drm_intel_gem_bo_flink()
2677 if (drmIoctl(bufmgr_gem->fd, DRM_IOCTL_GEM_FLINK, &flink)) in drm_intel_gem_bo_flink()
2682 bo_gem->global_name = flink.name; in drm_intel_gem_bo_flink()

12