Searched refs:flink_fd (Results 1 – 3 of 3) sorted by relevance
/external/libdrm/amdgpu/ |
D | amdgpu_device.c | 107 if ((dev->flink_fd >= 0) && (dev->fd != dev->flink_fd)) in amdgpu_device_free_internal() 108 close(dev->flink_fd); in amdgpu_device_free_internal() 180 dev->flink_fd = fcntl(fd, F_DUPFD_CLOEXEC, 0); in amdgpu_device_initialize() 197 dev->flink_fd = -1; in amdgpu_device_initialize() 215 dev->flink_fd = dev->fd; in amdgpu_device_initialize()
|
D | amdgpu_bo.c | 198 if (bo->dev->flink_fd != bo->dev->fd) { in amdgpu_bo_export_flink() 202 r = drmPrimeFDToHandle(bo->dev->flink_fd, dma_fd, &handle); in amdgpu_bo_export_flink() 207 fd = bo->dev->flink_fd; in amdgpu_bo_export_flink() 218 if (bo->dev->flink_fd != bo->dev->fd) in amdgpu_bo_export_flink() 219 amdgpu_close_kms_handle(bo->dev->flink_fd, handle); in amdgpu_bo_export_flink() 329 r = drmIoctl(dev->flink_fd, DRM_IOCTL_GEM_OPEN, &open_arg); in amdgpu_bo_import() 336 if (dev->flink_fd != dev->fd) { in amdgpu_bo_import() 337 r = drmPrimeHandleToFD(dev->flink_fd, handle, in amdgpu_bo_import() 345 r = amdgpu_close_kms_handle(dev->flink_fd, in amdgpu_bo_import() 384 amdgpu_close_kms_handle(dev->flink_fd, open_arg.handle); in amdgpu_bo_import()
|
D | amdgpu_internal.h | 71 int flink_fd; member
|