Searched refs:BusID (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/gallium/state_trackers/xorg/ |
D | xorg_driver.c | 127 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/ |
D | xf86drm.c | 2606 char *BusID; member 2615 const char *BusID, in drmOpenOnce() argument 2618 return drmOpenOnceWithType(BusID, newlyopened, DRM_NODE_PRIMARY); in drmOpenOnce() 2621 int drmOpenOnceWithType(const char *BusID, int *newlyopened, int type) in drmOpenOnceWithType() argument 2627 if ((strcmp(BusID, connection[i].BusID) == 0) && in drmOpenOnceWithType() 2634 fd = drmOpenWithType(NULL, BusID, type); in drmOpenOnceWithType() 2638 connection[nr_fds].BusID = strdup(BusID); in drmOpenOnceWithType() 2646 nr_fds, connection[nr_fds].BusID, in drmOpenOnceWithType() 2647 strcmp(BusID, connection[nr_fds].BusID)); in drmOpenOnceWithType() 2662 free(connection[i].BusID); in drmCloseOnce()
|
D | xf86drm.h | 723 extern int drmOpenOnce(void *unused, const char *BusID, int *newlyopened); 724 extern int drmOpenOnceWithType(const char *BusID, int *newlyopened, int type);
|
/external/mesa3d/src/glx/ |
D | dri_glx.c | 324 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()
|