drm_ffi::gem
pub fn handle_to_fd( fd: RawFd, handle: u32, flags: u32) -> Result<drm_prime_handle, Error>
Converts a GEM object’s handle to a PRIME file descriptor.