• Home
  • Raw
  • Download

Lines Matching refs:display_fd

293    if (device->display_fd >= 0)  in physical_device_finish()
294 close(device->display_fd); in physical_device_finish()
543 pdevice->display_fd = create_display_fd_wayland(NULL); in acquire_display_device_no_surface()
547 if (pdevice->display_fd == -1) in acquire_display_device_no_surface()
548 pdevice->display_fd = create_display_fd_xcb(NULL); in acquire_display_device_no_surface()
552 if (pdevice->display_fd == - 1 && pdevice->master_fd >= 0) in acquire_display_device_no_surface()
553 pdevice->display_fd = dup(pdevice->master_fd); in acquire_display_device_no_surface()
574 pdevice->display_fd = create_display_fd_xcb(surface); in acquire_display_device_surface()
580 pdevice->display_fd = create_display_fd_wayland(surface); in acquire_display_device_surface()
586 pdevice->display_fd = dup(pdevice->master_fd); in acquire_display_device_surface()
603 if (pdevice->display_fd != -1) in v3dv_physical_device_acquire_display()
615 if (pdevice->display_fd == -1) in v3dv_physical_device_acquire_display()
805 device->display_fd = -1; /* Authenticated vc4 primary node */ in physical_device_init()
2074 device_free_wsi_dumb(int32_t display_fd, int32_t dumb_handle) in device_free_wsi_dumb() argument
2076 assert(display_fd != -1); in device_free_wsi_dumb()
2083 if (v3dv_ioctl(display_fd, DRM_IOCTL_MODE_DESTROY_DUMB, &destroy_dumb)) { in device_free_wsi_dumb()
2095 device_free_wsi_dumb(device->instance->physicalDevice.display_fd, in device_free()
2201 if (unlikely(pdevice->display_fd < 0)) { in device_alloc_for_wsi()
2206 assert(pdevice->display_fd != -1); in device_alloc_for_wsi()
2210 int display_fd = pdevice->display_fd; in device_alloc_for_wsi()
2218 err = v3dv_ioctl(display_fd, DRM_IOCTL_MODE_CREATE_DUMB, &create_dumb); in device_alloc_for_wsi()
2224 drmPrimeHandleToFD(display_fd, create_dumb.handle, O_CLOEXEC, &fd); in device_alloc_for_wsi()
2238 device_free_wsi_dumb(display_fd, create_dumb.handle); in device_alloc_for_wsi()