Searched refs:drm_devices (Results 1 – 2 of 2) sorted by relevance
522 drmDevicePtr drm_devices[8]; in pvr_enumerate_devices() local528 max_drm_devices = drmGetDevices2(0, drm_devices, ARRAY_SIZE(drm_devices)); in pvr_enumerate_devices()533 if (drm_devices[i]->bustype != DRM_BUS_PLATFORM) in pvr_enumerate_devices()536 if (pvr_drm_device_is_supported(drm_devices[i], DRM_NODE_RENDER)) { in pvr_enumerate_devices()537 drm_render_device = drm_devices[i]; in pvr_enumerate_devices()541 } else if (pvr_drm_device_is_supported(drm_devices[i], in pvr_enumerate_devices()543 drm_primary_device = drm_devices[i]; in pvr_enumerate_devices()563 drmFreeDevices(drm_devices, max_drm_devices); in pvr_enumerate_devices()
40 auto drm_devices = DrmDevice::create_all(); in OnSetup() local41 for (auto &drm_device : drm_devices) { in OnSetup()