Searched refs:vgem_fd (Results 1 – 1 of 1) sorted by relevance
64 static int import_vgem_fd(int vgem_fd, int dma_buf_fd, uint32_t *handle) in import_vgem_fd() argument73 ret = ioctl(vgem_fd, DRM_IOCTL_PRIME_FD_TO_HANDLE, &import_handle); in import_vgem_fd()79 static void close_handle(int vgem_fd, uint32_t handle) in close_handle() argument85 ioctl(vgem_fd, DRM_IOCTL_GEM_CLOSE, &close); in close_handle()