Home
last modified time | relevance | path

Searched refs:drmPrimeFDToHandle (Results 1 – 24 of 24) sorted by relevance

/external/drm_hwcomposer/
Dplatformminigbm.cpp76 int ret = drmPrimeFDToHandle(drm_->fd(), gr_handle->fds[0], &gem_handle); in ImportBuffer()
Dplatformdrmgeneric.cpp110 int ret = drmPrimeFDToHandle(drm_->fd(), gr_handle->prime_fd, &gem_handle); in ImportBuffer()
Dplatformhisi.cpp139 int ret = drmPrimeFDToHandle(drm_->fd(), hnd->share_fd, &gem_handle); in ImportBuffer()
/external/mesa3d/src/gallium/auxiliary/renderonly/
Drenderonly.c148 err = drmPrimeFDToHandle(ro->kms_fd, fd, &scanout->handle); in renderonly_create_gpu_import_for_resource()
/external/libdrm/amdgpu/
Damdgpu_bo.c196 r = drmPrimeFDToHandle(bo->dev->flink_fd, dma_fd, &handle); in amdgpu_bo_export_flink()
277 r = drmPrimeFDToHandle(dev->fd, shared_handle, &handle); in amdgpu_bo_import()
356 r = drmPrimeFDToHandle(dev->fd, dma_fd, &bo->handle ); in amdgpu_bo_import()
/external/libkmsxx/kms++/src/
Dextframebuffer.cpp64 r = drmPrimeFDToHandle(card.fd(), fds[i], &plane.handle); in ExtFramebuffer()
/external/libdrm/exynos/
Dexynos_drm.c336 return drmPrimeFDToHandle(dev->fd, fd, handle); in exynos_prime_fd_to_handle()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_dri.c242 ret = drmPrimeFDToHandle(vws->ioctl.drm_fd, whandle->handle, in vmw_drm_surface_from_handle()
Dvmw_screen_ioctl.c303 ret = drmPrimeFDToHandle(vws->ioctl.drm_fd, whandle->handle, &handle); in vmw_ioctl_surface_req()
/external/libdrm/etnaviv/
Detnaviv_bo.c211 ret = drmPrimeFDToHandle(dev->fd, fd, &handle); in etna_bo_from_dmabuf()
/external/minigbm/
Ddri.c78 ret = drmPrimeFDToHandle(bo->drv->fd, prime_fd, &handle); in import_into_minigbm()
/external/libdrm/freedreno/
Dfreedreno_bo.c135 ret = drmPrimeFDToHandle(dev->fd, fd, &handle); in fd_bo_from_dmabuf()
/external/mesa3d/src/gallium/winsys/sw/kms-dri/
Dkms_dri_sw_winsys.c242 ret = drmPrimeFDToHandle(kms_sw->fd, fd, &handle); in kms_sw_displaytarget_add_from_prime()
/external/minigbm/cros_gralloc/
Dcros_gralloc_driver.cc183 if (drmPrimeFDToHandle(drv_get_fd(drv_), hnd->fds[0], &id)) { in retain()
/external/libdrm/radeon/
Dradeon_bo_gem.c392 r = drmPrimeFDToHandle(bom->fd, fd_handle, &handle); in radeon_gem_bo_open_prime()
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_bufmgr.c385 int ret = drmPrimeFDToHandle(screen->fd, fd, &handle); in vc5_bo_open_dmabuf()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_bufmgr.c438 int ret = drmPrimeFDToHandle(screen->fd, fd, &handle); in vc4_bo_open_dmabuf()
/external/libdrm/
Dxf86drm.h781 extern int drmPrimeFDToHandle(int fd, int prime_fd, uint32_t *handle);
Dxf86drm.c2803 int drmPrimeFDToHandle(int fd, int prime_fd, uint32_t *handle) in drmPrimeFDToHandle() function
/external/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.c412 r = drmPrimeFDToHandle(qdws->fd, whandle->handle, &handle); in virgl_drm_winsys_resource_create_handle()
/external/libdrm/nouveau/
Dnouveau.c801 ret = drmPrimeFDToHandle(drm->fd, prime_fd, &handle); in nouveau_bo_prime_handle_ref()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_bufmgr.c1118 int ret = drmPrimeFDToHandle(bufmgr->fd, prime_fd, &handle); in brw_bo_gem_create_from_prime_internal()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.c1132 r = drmPrimeFDToHandle(ws->fd, whandle->handle, &handle); in radeon_winsys_bo_from_handle()
/external/libdrm/intel/
Dintel_bufmgr_gem.c2640 ret = drmPrimeFDToHandle(bufmgr_gem->fd, prime_fd, &handle); in drm_intel_bo_gem_create_from_prime()