Searched refs:import_handle (Results 1 – 2 of 2) sorted by relevance
63 struct drm_prime_handle import_handle = { 0 }; in import_vgem_fd() local66 import_handle.fd = dma_buf_fd; in import_vgem_fd()67 import_handle.flags = 0; in import_vgem_fd()68 import_handle.handle = 0; in import_vgem_fd()70 ret = ioctl(vgem_fd, DRM_IOCTL_PRIME_FD_TO_HANDLE, &import_handle); in import_vgem_fd()72 *handle = import_handle.handle; in import_vgem_fd()
66 struct drm_prime_handle import_handle = { in import_vgem_fd() local73 ret = ioctl(vgem_fd, DRM_IOCTL_PRIME_FD_TO_HANDLE, &import_handle); in import_vgem_fd()75 *handle = import_handle.handle; in import_vgem_fd()