Home
last modified time | relevance | path

Searched refs:BusID (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_driver.c127 char *BusID = malloc(64); in xorg_tracker_have_modesetting() local
128 sprintf(BusID, "pci:%04x:%02x:%02x.%d", in xorg_tracker_have_modesetting()
132 if (drmCheckModesettingSupported(BusID)) { in xorg_tracker_have_modesetting()
134 "Drm modesetting not supported %s\n", BusID); in xorg_tracker_have_modesetting()
135 free(BusID); in xorg_tracker_have_modesetting()
140 "Drm modesetting supported on %s\n", BusID); in xorg_tracker_have_modesetting()
142 free(BusID); in xorg_tracker_have_modesetting()
277 char *BusID; in drv_init_drm() local
279 BusID = malloc(64); in drv_init_drm()
280 sprintf(BusID, "PCI:%d:%d:%d", in drv_init_drm()
[all …]
/external/libdrm/
Dxf86drm.c2449 char *BusID; member
2457 const char *BusID, in drmOpenOnce() argument
2464 if (strcmp(BusID, connection[i].BusID) == 0) { in drmOpenOnce()
2470 fd = drmOpen(unused, BusID); in drmOpenOnce()
2474 connection[nr_fds].BusID = strdup(BusID); in drmOpenOnce()
2481 nr_fds, connection[nr_fds].BusID, in drmOpenOnce()
2482 strcmp(BusID, connection[nr_fds].BusID)); in drmOpenOnce()
2497 free(connection[i].BusID); in drmCloseOnce()
Dxf86drm.h705 extern int drmOpenOnce(void *unused, const char *BusID, int *newlyopened);
/external/mesa3d/src/glx/
Ddri_glx.c324 char *BusID; in CallCreateNewScreen() local
350 if (!XF86DRIOpenConnection(dpy, scrn, &hSAREA, &BusID)) { in CallCreateNewScreen()
355 fd = drmOpenOnce(NULL, BusID, &newlyopened); in CallCreateNewScreen()
357 Xfree(BusID); /* No longer needed */ in CallCreateNewScreen()