Searched refs:dri3_fd (Results 1 – 2 of 2) sorted by relevance
90 int dri3_fd = ds_dri3_open(conn, screen->root, 0); in device_select_find_xcb_pci_default() local91 if (dri3_fd == -1) in device_select_find_xcb_pci_default()95 int ret = drmGetDevice2(dri3_fd, 0, &xdev); in device_select_find_xcb_pci_default()
111 int dri3_fd = wsi_dri3_open(conn, screen->root, None); in wsi_x11_check_dri3_compatible() local112 if (dri3_fd == -1) in wsi_x11_check_dri3_compatible()115 bool match = wsi_device_matches_drm_fd(wsi_dev, dri3_fd); in wsi_x11_check_dri3_compatible()117 close(dri3_fd); in wsi_x11_check_dri3_compatible()