Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/gallium/winsys/panfrost/drm/
Dpanfrost_drm_winsys.c93 err = drmPrimeHandleToFD(ro->kms_fd, create_dumb.handle, O_CLOEXEC, in panfrost_create_kms_dumb_buffer_for_resource()
/third_party/mesa3d/src/gallium/auxiliary/renderonly/
Drenderonly.c90 err = drmPrimeHandleToFD(ro->kms_fd, create_dumb.handle, O_CLOEXEC, in renderonly_create_kms_dumb_buffer_for_resource()
/third_party/libdrm/
Dcore-symbols.txt159 drmPrimeHandleToFD
Dxf86drm.h834 extern int drmPrimeHandleToFD(int fd, uint32_t handle, uint32_t flags, int *prime_fd);
/third_party/libdrm/amdgpu/
Damdgpu_bo.c191 r = drmPrimeHandleToFD(bo->dev->fd, bo->handle, DRM_CLOEXEC, in amdgpu_bo_export_flink()
241 return drmPrimeHandleToFD(bo->dev->fd, bo->handle, in amdgpu_bo_export()
329 r = drmPrimeHandleToFD(dev->flink_fd, handle, in amdgpu_bo_import()
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/
Dpvr_srv_bo.c65 ret = drmPrimeHandleToFD(srv_ws->master_fd, handle, O_CLOEXEC, &fd); in pvr_srv_alloc_display_pmr()
300 drmPrimeHandleToFD(srv_ws->master_fd, srv_bo->handle, O_CLOEXEC, fd_out); in pvr_srv_winsys_buffer_get_fd()
/third_party/libdrm/tegra/
Dtegra.c301 err = drmPrimeHandleToFD(bo->drm->fd, bo->handle, flags, &fd); in drm_tegra_bo_export()
/third_party/libdrm/exynos/
Dexynos_drm.c317 return drmPrimeHandleToFD(dev->fd, handle, 0, fd); in exynos_prime_handle_to_fd()
/third_party/libdrm/etnaviv/
Detnaviv_bo.c284 ret = drmPrimeHandleToFD(bo->dev->fd, bo->handle, DRM_CLOEXEC, in etna_bo_dmabuf()
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_dri.c348 ret = drmPrimeHandleToFD(vws->ioctl.drm_fd, vsrf->sid, DRM_CLOEXEC, in vmw_drm_surface_get_handle()
/third_party/ffmpeg/libavdevice/
Dkmsgrab.c121 err = drmPrimeHandleToFD(ctx->hwctx->fd, fb->handle, O_RDONLY, &fd); in kmsgrab_get_fb()
229 err = drmPrimeHandleToFD(ctx->hwctx->fd, fb->handles[i], in kmsgrab_get_fb2()
/third_party/libdrm/freedreno/
Dfreedreno_bo.c305 ret = drmPrimeHandleToFD(bo->dev->fd, bo->handle, DRM_CLOEXEC, in fd_bo_dmabuf()
/third_party/mesa3d/src/etnaviv/drm/
Detnaviv_bo.c365 ret = drmPrimeHandleToFD(bo->dev->fd, bo->handle, DRM_CLOEXEC, in etna_bo_dmabuf()
/third_party/libdrm/radeon/
Dradeon_bo_gem.c361 ret = drmPrimeHandleToFD(bo_gem->base.bom->fd, bo->handle, DRM_CLOEXEC, handle); in radeon_gem_prime_share_bo()
/third_party/mesa3d/src/gallium/winsys/sw/kms-dri/
Dkms_dri_sw_winsys.c467 if (!drmPrimeHandleToFD(kms_sw->fd, kms_sw_dt->handle, in kms_sw_displaytarget_get_handle()
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_bo.c398 if (drmPrimeHandleToFD(screen->fd, bo->handle, DRM_CLOEXEC, in lima_bo_export()
/third_party/mesa3d/src/freedreno/drm/
Dfreedreno_bo.c429 ret = drmPrimeHandleToFD(bo->dev->fd, bo->handle, DRM_CLOEXEC | DRM_RDWR, in fd_bo_dmabuf()
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_bufmgr.c419 int ret = drmPrimeHandleToFD(bo->screen->fd, bo->handle, in v3d_bo_get_dmabuf()
/third_party/gstreamer/gstplugins_bad/sys/kms/
Dgstkmsallocator.c589 ret = drmPrimeHandleToFD (alloc->priv->fd, kmsmem->bo->handle, in gst_kms_allocator_dmabuf_export()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_bufmgr.c456 int ret = drmPrimeHandleToFD(bo->screen->fd, bo->handle, in vc4_bo_get_dmabuf()
/third_party/libdrm/nouveau/
Dnouveau.c829 ret = drmPrimeHandleToFD(drm->fd, nvbo->base.handle, DRM_CLOEXEC, prime_fd); in nouveau_bo_set_prime()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_device.c2224 drmPrimeHandleToFD(display_fd, create_dumb.handle, O_CLOEXEC, &fd); in device_alloc_for_wsi()
2728 ret = drmPrimeHandleToFD(device->pdevice->render_fd, in v3dv_GetMemoryFdKHR()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_drm.c339 int ret = drmPrimeHandleToFD(dev->fd, bo->gem_handle, in tu_bo_export_dmabuf()
/third_party/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.c652 if (drmPrimeHandleToFD(qdws->fd, res->bo_handle, DRM_CLOEXEC, (int*)&whandle->handle)) in virgl_drm_winsys_resource_get_handle()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_bufmgr.c1372 if (drmPrimeHandleToFD(bufmgr->fd, bo->gem_handle, in crocus_bo_export_dmabuf()

12