Searched refs:drmPrimeHandleToFD (Results 1 – 17 of 17) sorted by relevance
/external/autotest/client/cros/graphics/ |
D | drm.py | 382 rv = self._l.drmPrimeHandleToFD(self._fd, self.handle, 442 l.drmPrimeHandleToFD.argtypes = [c_int, c_uint, c_uint, POINTER(c_int)] 443 l.drmPrimeHandleToFD.restype = c_int
|
/external/libdrm/amdgpu/ |
D | amdgpu_bo.c | 220 r = drmPrimeHandleToFD(bo->dev->fd, bo->handle, DRM_CLOEXEC, in amdgpu_bo_export_flink() 276 return drmPrimeHandleToFD(bo->dev->fd, bo->handle, DRM_CLOEXEC, in amdgpu_bo_export() 376 r = drmPrimeHandleToFD(dev->flink_fd, bo->handle, DRM_CLOEXEC, &dma_fd); in amdgpu_bo_import()
|
/external/mesa3d/src/gallium/auxiliary/renderonly/ |
D | renderonly.c | 104 err = drmPrimeHandleToFD(ro->kms_fd, create_dumb.handle, O_CLOEXEC, in renderonly_create_kms_dumb_buffer_for_resource()
|
/external/drm_gralloc/ |
D | gralloc_drm_rockchip.c | 111 ret = drmPrimeHandleToFD(info->fd, gem_handle, 0, in drm_gem_rockchip_alloc()
|
/external/libdrm/exynos/ |
D | exynos_drm.c | 325 return drmPrimeHandleToFD(dev->fd, handle, 0, fd); in exynos_prime_handle_to_fd()
|
/external/libdrm/freedreno/ |
D | freedreno_bo.c | 269 ret = drmPrimeHandleToFD(bo->dev->fd, bo->handle, DRM_CLOEXEC, in fd_bo_dmabuf()
|
/external/libdrm/etnaviv/ |
D | etnaviv_bo.c | 291 ret = drmPrimeHandleToFD(bo->dev->fd, bo->handle, DRM_CLOEXEC, in etna_bo_dmabuf()
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_screen_dri.c | 380 ret = drmPrimeHandleToFD(vws->ioctl.drm_fd, vsrf->sid, DRM_CLOEXEC, in vmw_drm_surface_get_handle()
|
/external/mesa3d/src/gallium/winsys/sw/kms-dri/ |
D | kms_dri_sw_winsys.c | 343 if (!drmPrimeHandleToFD(kms_sw->fd, kms_sw_dt->handle, in kms_sw_displaytarget_get_handle()
|
/external/libdrm/radeon/ |
D | radeon_bo_gem.c | 369 ret = drmPrimeHandleToFD(bo_gem->base.bom->fd, bo->handle, DRM_CLOEXEC, handle); in radeon_gem_prime_share_bo()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_bufmgr.c | 396 int ret = drmPrimeHandleToFD(bo->screen->fd, bo->handle, in vc4_bo_get_dmabuf()
|
/external/libdrm/ |
D | xf86drm.h | 763 extern int drmPrimeHandleToFD(int fd, uint32_t handle, uint32_t flags, int *prime_fd);
|
D | xf86drm.c | 2748 int drmPrimeHandleToFD(int fd, uint32_t handle, uint32_t flags, int *prime_fd) in drmPrimeHandleToFD() function
|
/external/libdrm/nouveau/ |
D | nouveau.c | 820 ret = drmPrimeHandleToFD(drm->fd, nvbo->base.handle, DRM_CLOEXEC, prime_fd); in nouveau_bo_set_prime()
|
/external/mesa3d/src/gallium/winsys/virgl/drm/ |
D | virgl_drm_winsys.c | 490 if (drmPrimeHandleToFD(qdws->fd, res->bo_handle, DRM_CLOEXEC, (int*)&whandle->handle)) in virgl_drm_winsys_resource_get_handle()
|
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_bo.c | 1326 if (drmPrimeHandleToFD(ws->fd, bo->handle, DRM_CLOEXEC, (int*)&whandle->handle)) in radeon_winsys_bo_get_handle()
|
/external/libdrm/intel/ |
D | intel_bufmgr_gem.c | 2742 if (drmPrimeHandleToFD(bufmgr_gem->fd, bo_gem->gem_handle, in drm_intel_bo_gem_export_to_prime()
|