Searched refs:flink_fd (Results 1 – 3 of 3) sorted by relevance
142 if ((dev->flink_fd >= 0) && (dev->fd != dev->flink_fd)) in amdgpu_device_free_internal()143 close(dev->flink_fd); in amdgpu_device_free_internal()200 dev->flink_fd = dup(fd); in amdgpu_device_initialize()216 dev->flink_fd = -1; in amdgpu_device_initialize()234 dev->flink_fd = dev->fd; in amdgpu_device_initialize()
219 if (bo->dev->flink_fd != bo->dev->fd) { in amdgpu_bo_export_flink()223 r = drmPrimeFDToHandle(bo->dev->flink_fd, dma_fd, &handle); in amdgpu_bo_export_flink()228 fd = bo->dev->flink_fd; in amdgpu_bo_export_flink()239 if (bo->dev->flink_fd != bo->dev->fd) { in amdgpu_bo_export_flink()242 drmIoctl(bo->dev->flink_fd, DRM_IOCTL_GEM_CLOSE, &args); in amdgpu_bo_export_flink()367 r = drmIoctl(dev->flink_fd, DRM_IOCTL_GEM_OPEN, &open_arg); in amdgpu_bo_import()375 if (dev->flink_fd != dev->fd) { in amdgpu_bo_import()376 r = drmPrimeHandleToFD(dev->flink_fd, bo->handle, DRM_CLOEXEC, &dma_fd); in amdgpu_bo_import()
74 int flink_fd; member