Home
last modified time | relevance | path

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

/third_party/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
/third_party/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()
/third_party/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()
/third_party/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()
/third_party/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()
/third_party/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.c629 struct drm_gem_flink flink; in virgl_drm_winsys_resource_get_handle() local
636 memset(&flink, 0, sizeof(flink)); in virgl_drm_winsys_resource_get_handle()
637 flink.handle = res->bo_handle; in virgl_drm_winsys_resource_get_handle()
639 if (drmIoctl(qdws->fd, DRM_IOCTL_GEM_FLINK, &flink)) { in virgl_drm_winsys_resource_get_handle()
642 res->flink_name = flink.name; in virgl_drm_winsys_resource_get_handle()
/third_party/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()
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.c1330 struct drm_gem_flink flink; in radeon_winsys_bo_get_handle() local
1338 memset(&flink, 0, sizeof(flink)); in radeon_winsys_bo_get_handle()
1344 flink.handle = bo->handle; in radeon_winsys_bo_get_handle()
1346 if (ioctl(ws->fd, DRM_IOCTL_GEM_FLINK, &flink)) { in radeon_winsys_bo_get_handle()
1350 bo->flink_name = flink.name; in radeon_winsys_bo_get_handle()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_bufmgr.c1388 struct drm_gem_flink flink = { .handle = bo->gem_handle }; in crocus_bo_flink() local
1390 if (intel_ioctl(bufmgr->fd, DRM_IOCTL_GEM_FLINK, &flink)) in crocus_bo_flink()
1396 bo->global_name = flink.name; in crocus_bo_flink()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_bufmgr.c1612 struct drm_gem_flink flink = { .handle = bo->gem_handle }; in brw_bo_flink() local
1614 if (drmIoctl(bufmgr->fd, DRM_IOCTL_GEM_FLINK, &flink)) in brw_bo_flink()
1620 bo->global_name = flink.name; in brw_bo_flink()
/third_party/mesa3d/docs/relnotes/
D9.1.1.rst180 - winsys/radeon: Only add bo to hash table when creating flink
D19.1.0.rst1078 - iris: Tidy exporting the flink handle
1202 - virgl/drm: handle flink name better.
D7.10.rst2000 - r600g: remove unused flink, domain fields from r600_resource
/third_party/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()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_bufmgr.c1893 struct drm_gem_flink flink = { .handle = bo->gem_handle }; in iris_bo_flink() local
1895 if (intel_ioctl(bufmgr->fd, DRM_IOCTL_GEM_FLINK, &flink)) in iris_bo_flink()
1901 bo->real.global_name = flink.name; in iris_bo_flink()