Searched refs:dri3_fd (Results 1 – 2 of 2) sorted by relevance
93 int dri3_fd = ds_dri3_open(conn, screen->root, 0); in device_select_find_xcb_pci_default() local94 if (dri3_fd == -1) in device_select_find_xcb_pci_default()97 int ret = drmGetDevice2(dri3_fd, 0, &xdev); in device_select_find_xcb_pci_default()98 close(dri3_fd); in device_select_find_xcb_pci_default()
132 int dri3_fd = wsi_dri3_open(conn, screen->root, None); in wsi_x11_check_dri3_compatible() local133 if (dri3_fd == -1) in wsi_x11_check_dri3_compatible()136 bool match = wsi_device_matches_drm_fd(wsi_dev, dri3_fd); in wsi_x11_check_dri3_compatible()138 close(dri3_fd); in wsi_x11_check_dri3_compatible()