D | histogram_collector.cpp | 416 auto drm = ManagedFd::create(drmOpenControl(control_minor_version)); in collecting_thread() local 417 if (!drm) { in collecting_thread() 421 auto drm_resources = DrmResources::create(*drm); in collecting_thread() 446 *drm, encoder, &crtc, &histogram_property, &histogram_irq)) { in collecting_thread() 470 if (epoll_ctl(*epollfd, EPOLL_CTL_ADD, *drm, &ev) == -1) { in collecting_thread() 482 if (fcntl(*drm, F_SETFL, fcntl(*drm, F_GETFL) | O_NONBLOCK)) { in collecting_thread() 499 auto power_registration = PowerEventRegistration::create(*drm, crtc->crtc_id); in collecting_thread() 509 *drm, crtc->crtc_id, histogram_property); in collecting_thread() 512 if (drmModeObjectSetProperty(*drm, in collecting_thread() 533 auto size_read = read(*drm, buffer, sizeof(buffer)); in collecting_thread() [all …]
|