Searched refs:flink_fd (Results 1 – 3 of 3) sorted by relevance
136 if ((dev->flink_fd >= 0) && (dev->fd != dev->flink_fd)) in amdgpu_device_free_internal()137 close(dev->flink_fd); in amdgpu_device_free_internal()199 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()
192 if (bo->dev->flink_fd != bo->dev->fd) { in amdgpu_bo_export_flink()196 r = drmPrimeFDToHandle(bo->dev->flink_fd, dma_fd, &handle); in amdgpu_bo_export_flink()201 fd = bo->dev->flink_fd; in amdgpu_bo_export_flink()212 if (bo->dev->flink_fd != bo->dev->fd) { in amdgpu_bo_export_flink()215 drmIoctl(bo->dev->flink_fd, DRM_IOCTL_GEM_CLOSE, &args); in amdgpu_bo_export_flink()341 r = drmIoctl(dev->flink_fd, DRM_IOCTL_GEM_OPEN, &open_arg); in amdgpu_bo_import()349 if (dev->flink_fd != dev->fd) { in amdgpu_bo_import()350 r = drmPrimeHandleToFD(dev->flink_fd, bo->handle, DRM_CLOEXEC, &dma_fd); in amdgpu_bo_import()
69 int flink_fd; member